# name: Yahtzee # flags: 0x1400 (ENABLE_CONTROL, NEED_GOODBYE) # delay: 0 # event mask: 0x0142 # menu id: -15552 # open label: 0000 # prime label: 00D0 # control label: 0118 # status label: 00D0 # close label: 00E4 open: 00000000 48E7 0028 movem.l -[A7], A2,A4 00000004 2849 movea.l A4, A1 00000006 4AAC 001E tst.l [A4 + 0x1E] 0000000A 6600 00C0 bne +0xC2 /* 000000CC */ 0000000E A11D syscall MaxMem, flags=1 00000010 A036 syscall MoreMasters 00000012 203C 0000 0306 move.l D0, 0x306 00000018 A122 syscall NewHandle, flags=1 0000001A 6B00 00B8 bmi +0xBA /* 000000D4 */ 0000001E 2948 0014 move.l [A4 + 0x14], A0 00000022 A029 syscall HLock 00000024 246C 0014 movea.l A2, [A4 + 0x14] 00000028 2452 movea.l A2, [A2] 0000002A 42AA 0186 clr.l [A2 + 0x186] 0000002E 426A 018A clr.w [A2 + 0x18A] 00000032 426A 0014 clr.w [A2 + 0x14] 00000036 42AA 0016 clr.l [A2 + 0x16] 0000003A 41FA FFAA lea.l A0, [PC - 0x56 /* FFFFFFE6, cstring "" */] 0000003E A128 syscall RecoverHandle, flags=1 00000040 2F08 move.l -[A7], A0 00000042 486A 0014 pea.l [A2 + 0x14] 00000046 486A 0016 pea.l [A2 + 0x16] 0000004A 486A 001A pea.l [A2 + 0x1A] 0000004E A9A8 syscall GetResInfo 00000050 302A 0014 move.w D0, [A2 + 0x14] 00000054 C0FC 0020 mulu.w D0, 0x20 /* ' ' */ 00000058 0640 C000 addi.w D0, 0xC000 0000005C 3940 0026 move.w [A4 + 0x26], D0 00000060 42AA 0016 clr.l [A2 + 0x16] 00000064 42A7 clr.l -[A7] 00000066 3F00 move.w -[A7], D0 00000068 42A7 clr.l -[A7] 0000006A 2F3C FFFF FFFF move.l -[A7], 0xFFFFFFFF 00000070 A9BD syscall GetNewWindow 00000072 205F movea.l A0, [A7]+ 00000074 2948 001E move.l [A4 + 0x1E], A0 00000078 316C 0018 006C move.w [A0 + 0x6C], [A4 + 0x18] 0000007E 42A7 clr.l -[A7] 00000080 3F2C 0026 move.w -[A7], [A4 + 0x26] 00000084 2F2C 001E move.l -[A7], [A4 + 0x1E] 00000088 A9BE syscall GetNewControl 0000008A 255F 02E8 move.l [A2 + 0x2E8], [A7]+ 0000008E 42A7 clr.l -[A7] 00000090 3F2C 0026 move.w -[A7], [A4 + 0x26] 00000094 487A 14E4 pea.l [PC + 0x14E4 /* 0000157A, value 0xB4D6163, pstring "MacYahtzee " */] 00000098 A931 syscall NewMenu 0000009A 2557 0146 move.l [A2 + 0x146], [A7] 0000009E 487A 14E6 pea.l [PC + 0x14E6 /* 00001586, value 0x26437265 '&Cre', pstring "Credits;(-;New Game;Play Again;(-;Undo" */] 000000A2 A933 syscall AppendMenu 000000A4 2055 movea.l A0, [A5] 000000A6 2178 0156 FF82 move.l [A0 - 0x7E], [0x00000156 /* RndSeed */] 000000AC 206C 0014 movea.l A0, [A4 + 0x14] 000000B0 A02A syscall HUnlock 000000B2 41EA 0136 lea.l A0, [A2 + 0x136] 000000B6 303C 0001 move.w D0, 0x1 000000BA A090 syscall SysEnvirons 000000BC 1568 0009 0134 move.b [A2 + 0x134], [A0 + 0x9] 000000C2 1568 0009 013F move.b [A2 + 0x13F], [A0 + 0x9] 000000C8 51EA 0135 sf [A2 + 0x135] label000000CC: 000000CC 4CDF 1400 movem.l A2,A4, [A7]+ prime: status: label000000D0: 000000D0 7000 moveq.l D0, 0x00 000000D2 4E75 rts label000000D4: 000000D4 4CDF 1400 movem.l A2,A4, [A7]+ 000000D8 3F00 move.w -[A7], D0 000000DA 3F3C 0001 move.w -[A7], 0x1 000000DE A9C8 syscall SysBeep 000000E0 301F move.w D0, [A7]+ 000000E2 4E75 rts close: 000000E4 2F0C move.l -[A7], A4 000000E6 2849 movea.l A4, A1 000000E8 2F2C 001E move.l -[A7], [A4 + 0x1E] 000000EC A914 syscall DisposeWindow 000000EE 42AC 001E clr.l [A4 + 0x1E] 000000F2 3F2C 0026 move.w -[A7], [A4 + 0x26] 000000F6 A936 syscall DeleteMenu 000000F8 A937 syscall DrawMenuBar 000000FA 426C 0026 clr.w [A4 + 0x26] 000000FE 206C 0014 movea.l A0, [A4 + 0x14] 00000102 2050 movea.l A0, [A0] 00000104 2068 0146 movea.l A0, [A0 + 0x146] 00000108 A023 syscall DisposHandle/DisposeHandle 0000010A 206C 0014 movea.l A0, [A4 + 0x14] 0000010E A023 syscall DisposHandle/DisposeHandle 00000110 42AC 0014 clr.l [A4 + 0x14] 00000114 285F movea.l A4, [A7]+ 00000116 60B8 bra -0x46 /* 000000D0 */ control: 00000118 48E7 0038 movem.l -[A7], A2,A3,A4 0000011C 2849 movea.l A4, A1 0000011E 2648 movea.l A3, A0 00000120 2F2C 001E move.l -[A7], [A4 + 0x1E] 00000124 A873 syscall SetPort 00000126 206C 0014 movea.l A0, [A4 + 0x14] 0000012A A029 syscall HLock 0000012C 246C 0014 movea.l A2, [A4 + 0x14] 00000130 2452 movea.l A2, [A2] 00000132 302B 001A move.w D0, [A3 + 0x1A] 00000136 0C40 FFFF cmpi.w D0, 0xFFFF 0000013A 6734 beq +0x36 /* 00000170 */ 0000013C 0C40 0040 cmpi.w D0, 0x40 /* '@' */ 00000140 6744 beq +0x46 /* 00000186 */ 00000142 0C40 0043 cmpi.w D0, 0x43 /* 'C' */ 00000146 6700 0272 beq +0x274 /* 000003BA */ 0000014A 0C40 0044 cmpi.w D0, 0x44 /* 'D' */ 0000014E 6700 02AE beq +0x2B0 /* 000003FE */ 00000152 0C6A 0000 0186 cmpi.w [A2 + 0x186], 0x0 00000158 6604 bne +0x6 /* 0000015E */ 0000015A 4EBA 045A jsr [PC + 0x45A /* 000005B6 */] label0000015E: 0000015E 206C 0014 movea.l A0, [A4 + 0x14] 00000162 A02A syscall HUnlock 00000164 224C movea.l A1, A4 00000166 204B movea.l A0, A3 00000168 4CDF 1C00 movem.l A2,A3,A4, [A7]+ 0000016C 7000 moveq.l D0, 0x00 0000016E 4E75 rts label00000170: 00000170 206C 0014 movea.l A0, [A4 + 0x14] 00000174 A02A syscall HUnlock 00000176 224C movea.l A1, A4 00000178 204B movea.l A0, A3 0000017A 4CDF 1C00 movem.l A2,A3,A4, [A7]+ 0000017E 7000 moveq.l D0, 0x00 00000180 2F38 08FC move.l -[A7], [0x000008FC /* JIODone */] 00000184 4E75 rts label00000186: 00000186 2F0B move.l -[A7], A3 00000188 266B 001C movea.l A3, [A3 + 0x1C] 0000018C 0C53 0001 cmpi.w [A3], 0x1 00000190 6712 beq +0x14 /* 000001A4 */ 00000192 0C53 0006 cmpi.w [A3], 0x6 00000196 6774 beq +0x76 /* 0000020C */ 00000198 0C53 0008 cmpi.w [A3], 0x8 0000019C 6700 01F4 beq +0x1F6 /* 00000392 */ label000001A0: 000001A0 265F movea.l A3, [A7]+ 000001A2 60BA bra -0x44 /* 0000015E */ label000001A4: 000001A4 0C6A 000C 018C cmpi.w [A2 + 0x18C], 0xC 000001AA 6E3E bgt +0x40 /* 000001EA */ 000001AC 486B 000A pea.l [A3 + 0xA] 000001B0 A871 syscall GlobalToLocal 000001B2 4267 clr.w -[A7] 000001B4 2F2B 000A move.l -[A7], [A3 + 0xA] 000001B8 2F2C 001E move.l -[A7], [A4 + 0x1E] 000001BC 486A 02E8 pea.l [A2 + 0x2E8] 000001C0 A96C syscall FindControl 000001C2 301F move.w D0, [A7]+ 000001C4 0C40 000A cmpi.w D0, 0xA /* '\n' */ 000001C8 6628 bne +0x2A /* 000001F2 */ 000001CA 4267 clr.w -[A7] 000001CC 2F2A 02E8 move.l -[A7], [A2 + 0x2E8] 000001D0 2F2B 000A move.l -[A7], [A3 + 0xA] 000001D4 42A7 clr.l -[A7] 000001D6 A968 syscall TrackControl 000001D8 301F move.w D0, [A7]+ 000001DA 672E beq +0x30 /* 0000020A */ 000001DC 0C6A 0002 018A cmpi.w [A2 + 0x18A], 0x2 000001E2 6E06 bgt +0x8 /* 000001EA */ 000001E4 4EBA 09C4 jsr [PC + 0x9C4 /* 00000BAA */] 000001E8 6020 bra +0x22 /* 0000020A */ label000001EA: 000001EA 3F3C 0001 move.w -[A7], 0x1 000001EE A9C8 syscall SysBeep 000001F0 6018 bra +0x1A /* 0000020A */ label000001F2: 000001F2 0C6A 0000 018A cmpi.w [A2 + 0x18A], 0x0 000001F8 67F0 beq -0xE /* 000001EA */ 000001FA 0C6A 0002 018A cmpi.w [A2 + 0x18A], 0x2 00000200 6E04 bgt +0x6 /* 00000206 */ 00000202 4EBA 095E jsr [PC + 0x95E /* 00000B62 */] label00000206: 00000206 4EBA 0BC0 jsr [PC + 0xBC0 /* 00000DC8 */] label0000020A: 0000020A 6094 bra -0x6A /* 000001A0 */ label0000020C: 0000020C 48E7 1C10 movem.l -[A7], D3,D4,D5,A3 00000210 4A2A 013F tst.b [A2 + 0x13F] 00000214 673E beq +0x40 /* 00000254 */ 00000216 4A2A 0135 tst.b [A2 + 0x135] 0000021A 661C bne +0x1E /* 00000238 */ 0000021C 42A7 clr.l -[A7] 0000021E 206C 001E movea.l A0, [A4 + 0x1E] 00000222 4868 0010 pea.l [A0 + 0x10] 00000226 AA27 syscall GetMaxDevice 00000228 205F movea.l A0, [A7]+ 0000022A B0FC 0000 cmpa.w A0, 0x0 0000022E 6724 beq +0x26 /* 00000254 */ 00000230 2050 movea.l A0, [A0] 00000232 2568 0016 012E move.l [A2 + 0x12E], [A0 + 0x16] label00000238: 00000238 50EA 0134 st [A2 + 0x134] 0000023C 206A 012E movea.l A0, [A2 + 0x12E] 00000240 2050 movea.l A0, [A0] 00000242 3568 0020 0132 move.w [A2 + 0x132], [A0 + 0x20] 00000248 0C6A 0002 0132 cmpi.w [A2 + 0x132], 0x2 0000024E 6E04 bgt +0x6 /* 00000254 */ 00000250 51EA 0134 sf [A2 + 0x134] label00000254: 00000254 357C 001D 01A0 move.w [A2 + 0x1A0], 0x1D 0000025A 357C 00F6 01A2 move.w [A2 + 0x1A2], 0xF6 00000260 357C 002B 01A4 move.w [A2 + 0x1A4], 0x2B /* '+' */ 00000266 357C 011E 01A6 move.w [A2 + 0x1A6], 0x11E 0000026C 2F2C 001E move.l -[A7], [A4 + 0x1E] 00000270 A922 syscall BeginUpdate 00000272 4EBA 0492 jsr [PC + 0x492 /* 00000706 */] 00000276 0C6A 0000 018A cmpi.w [A2 + 0x18A], 0x0 0000027C 6724 beq +0x26 /* 000002A2 */ 0000027E 47EA 014A lea.l A3, [A2 + 0x14A] 00000282 4243 clr.w D3 label00000284: 00000284 4EBA 09D6 jsr [PC + 0x9D6 /* 00000C5C */] 00000288 0C6B 0000 0002 cmpi.w [A3 + 0x2], 0x0 0000028E 6706 beq +0x8 /* 00000296 */ 00000290 486B 0004 pea.l [A3 + 0x4] 00000294 A8A4 syscall InvertRect label00000296: 00000296 5243 addq.w D3, 1 00000298 D6FC 000C add.w A3, 0xC 0000029C 0C43 0005 cmpi.w D3, 0x5 000002A0 66E2 bne -0x1C /* 00000284 */ label000002A2: 000002A2 0C6A 0000 0188 cmpi.w [A2 + 0x188], 0x0 000002A8 6700 00CC beq +0xCE /* 00000376 */ 000002AC 4EBA 06A8 jsr [PC + 0x6A8 /* 00000956 */] 000002B0 486A 01B0 pea.l [A2 + 0x1B0] 000002B4 A8A4 syscall InvertRect 000002B6 3F3C 0004 move.w -[A7], 0x4 000002BA A887 syscall TextFont 000002BC 3F3C 0009 move.w -[A7], 0x9 /* '\t' */ 000002C0 A88A syscall TextSize 000002C2 4267 clr.w -[A7] 000002C4 A888 syscall TextFace 000002C6 4A2A 0134 tst.b [A2 + 0x134] 000002CA 6708 beq +0xA /* 000002D4 */ 000002CC 2F3C 0000 0021 move.l -[A7], 0x21 /* '!' */ 000002D2 A862 syscall ForeColor label000002D4: 000002D4 7600 moveq.l D3, 0x00 000002D6 4244 clr.w D4 000002D8 47EA 01B8 lea.l A3, [A2 + 0x1B8] label000002DC: 000002DC 0C6B 0000 002A cmpi.w [A3 + 0x2A], 0x0 000002E2 6744 beq +0x46 /* 00000328 */ 000002E4 302B 0008 move.w D0, [A3 + 0x8] 000002E8 2000 move.l D0, D0 000002EA 41EA 001A lea.l A0, [A2 + 0x1A] 000002EE 4267 clr.w -[A7] 000002F0 A9EE syscall Pack7/DecStr68K 000002F2 3A2A 01A2 move.w D5, [A2 + 0x1A2] 000002F6 0645 0015 addi.w D5, 0x15 000002FA 4267 clr.w -[A7] 000002FC 486A 001A pea.l [A2 + 0x1A] 00000300 A88C syscall StringWidth 00000302 321F move.w D1, [A7]+ 00000304 E241 asr D1.w, 1 00000306 9A41 sub.w D5, D1 00000308 3F05 move.w -[A7], D5 0000030A 322A 01A0 move.w D1, [A2 + 0x1A0] 0000030E 0641 000B addi.w D1, 0xB 00000312 3F01 move.w -[A7], D1 00000314 A893 syscall MoveTo 00000316 0C43 000F cmpi.w D3, 0xF 0000031A 6606 bne +0x8 /* 00000322 */ 0000031C 3F3C 0001 move.w -[A7], 0x1 00000320 A888 syscall TextFace label00000322: 00000322 486A 001A pea.l [A2 + 0x1A] 00000326 A884 syscall DrawString label00000328: 00000328 486A 01A0 pea.l [A2 + 0x1A0] 0000032C 4267 clr.w -[A7] 0000032E 3F3C 000F move.w -[A7], 0xF 00000332 A8A8 syscall OffsetRect 00000334 544B addq.w A3, 2 00000336 5243 addq.w D3, 1 00000338 0C43 0010 cmpi.w D3, 0x10 0000033C 669E bne -0x60 /* 000002DC */ 0000033E 486A 01A0 pea.l [A2 + 0x1A0] 00000342 3F3C 002A move.w -[A7], 0x2A /* '*' */ 00000346 3F3C FF10 move.w -[A7], 0xFF10 0000034A A8A8 syscall OffsetRect 0000034C 4243 clr.w D3 0000034E 5244 addq.w D4, 1 00000350 47EA 01B8 lea.l A3, [A2 + 0x1B8] 00000354 303C 004C move.w D0, 0x4C /* 'L' */ 00000358 C0C4 mulu.w D0, D4 0000035A D6C0 add.w A3, D0 0000035C 4267 clr.w -[A7] 0000035E A888 syscall TextFace 00000360 B86A 0186 cmp.w D4, [A2 + 0x186] 00000364 6600 FF76 bne -0x88 /* 000002DC */ 00000368 4267 clr.w -[A7] 0000036A A887 syscall TextFont 0000036C 3F3C 000C move.w -[A7], 0xC 00000370 A88A syscall TextSize 00000372 4267 clr.w -[A7] 00000374 A888 syscall TextFace label00000376: 00000376 2F2C 001E move.l -[A7], [A4 + 0x1E] 0000037A A923 syscall EndUpdate 0000037C 4A2A 0134 tst.b [A2 + 0x134] 00000380 6708 beq +0xA /* 0000038A */ 00000382 2F3C 0000 0021 move.l -[A7], 0x21 /* '!' */ 00000388 A862 syscall ForeColor label0000038A: 0000038A 4CDF 0838 movem.l D3,D4,D5,A3, [A7]+ 0000038E 6000 FE10 bra -0x1EE /* 000001A0 */ label00000392: 00000392 082B 0000 000F btst.b [A3 + 0xF], 0x0 00000398 6714 beq +0x16 /* 000003AE */ 0000039A 206C 0014 movea.l A0, [A4 + 0x14] 0000039E 2050 movea.l A0, [A0] 000003A0 2F28 0146 move.l -[A7], [A0 + 0x146] 000003A4 4267 clr.w -[A7] 000003A6 A935 syscall InsertMenu 000003A8 A937 syscall DrawMenuBar 000003AA 6000 FDF4 bra -0x20A /* 000001A0 */ label000003AE: 000003AE 3F2C 0026 move.w -[A7], [A4 + 0x26] 000003B2 A936 syscall DeleteMenu 000003B4 A937 syscall DrawMenuBar 000003B6 6000 FDE8 bra -0x216 /* 000001A0 */ label000003BA: 000003BA 302B 001E move.w D0, [A3 + 0x1E] 000003BE 0C40 0001 cmpi.w D0, 0x1 000003C2 6716 beq +0x18 /* 000003DA */ 000003C4 0C40 0003 cmpi.w D0, 0x3 000003C8 6718 beq +0x1A /* 000003E2 */ 000003CA 0C40 0004 cmpi.w D0, 0x4 000003CE 671A beq +0x1C /* 000003EA */ 000003D0 0C40 0006 cmpi.w D0, 0x6 000003D4 6728 beq +0x2A /* 000003FE */ 000003D6 6000 FD86 bra -0x278 /* 0000015E */ label000003DA: 000003DA 4EBA 0302 jsr [PC + 0x302 /* 000006DE */] 000003DE 6000 FD7E bra -0x280 /* 0000015E */ label000003E2: 000003E2 4EBA 01D2 jsr [PC + 0x1D2 /* 000005B6 */] 000003E6 6000 FD76 bra -0x288 /* 0000015E */ label000003EA: 000003EA 2F2C 001E move.l -[A7], [A4 + 0x1E] 000003EE A873 syscall SetPort 000003F0 486B 000A pea.l [A3 + 0xA] 000003F4 A871 syscall GlobalToLocal 000003F6 4EBA 05B8 jsr [PC + 0x5B8 /* 000009B0 */] 000003FA 6000 FD62 bra -0x29C /* 0000015E */ label000003FE: 000003FE 48E7 1C10 movem.l -[A7], D3,D4,D5,A3 00000402 0C6A 0001 018E cmpi.w [A2 + 0x18E], 0x1 00000408 6600 018E bne +0x190 /* 00000598 */ 0000040C 426A 018E clr.w [A2 + 0x18E] 00000410 2F2A 0146 move.l -[A7], [A2 + 0x146] 00000414 3F3C 0006 move.w -[A7], 0x6 00000418 A93A syscall DisableItem 0000041A 486A 01B0 pea.l [A2 + 0x1B0] 0000041E A8A4 syscall InvertRect 00000420 7805 moveq.l D4, 0x05 00000422 7A00 moveq.l D5, 0x00 00000424 47EA 014A lea.l A3, [A2 + 0x14A] label00000428: 00000428 41EA 02EC lea.l A0, [A2 + 0x2EC] 0000042C 36B0 5004 move.w [A3], [A0 + D5.w + 0x4] 00000430 4EBA 082A jsr [PC + 0x82A /* 00000C5C */] 00000434 426B 0002 clr.w [A3 + 0x2] 00000438 D6FC 000C add.w A3, 0xC 0000043C 5445 addq.w D5, 2 0000043E 5344 subq.w D4, 1 00000440 66E6 bne -0x18 /* 00000428 */ 00000442 41EA 02EC lea.l A0, [A2 + 0x2EC] 00000446 2650 movea.l A3, [A0] 00000448 3568 0010 018A move.w [A2 + 0x18A], [A0 + 0x10] 0000044E 3568 000E 0188 move.w [A2 + 0x188], [A0 + 0xE] 00000454 3568 0018 018C move.w [A2 + 0x18C], [A0 + 0x18] 0000045A 3628 0012 move.w D3, [A0 + 0x12] 0000045E 3828 0014 move.w D4, [A0 + 0x14] 00000462 256A 01A8 01B0 move.l [A2 + 0x1B0], [A2 + 0x1A8] 00000468 256A 01AC 01B4 move.l [A2 + 0x1B4], [A2 + 0x1AC] 0000046E 302A 0188 move.w D0, [A2 + 0x188] 00000472 5340 subq.w D0, 1 00000474 C0FC 002A mulu.w D0, 0x2A /* '*' */ 00000478 486A 01B0 pea.l [A2 + 0x1B0] 0000047C 3F00 move.w -[A7], D0 0000047E 4267 clr.w -[A7] 00000480 A8A8 syscall OffsetRect 00000482 486A 01B0 pea.l [A2 + 0x1B0] 00000486 A8A4 syscall InvertRect 00000488 356A 01B2 01A2 move.w [A2 + 0x1A2], [A2 + 0x1B2] 0000048E 356A 01B6 01A6 move.w [A2 + 0x1A6], [A2 + 0x1B6] 00000494 0C43 000A cmpi.w D3, 0xA /* '\n' */ 00000498 6E04 bgt +0x6 /* 0000049E */ 0000049A 996B 0028 sub.w [A3 + 0x28], D4 label0000049E: 0000049E 0C6A 0001 0302 cmpi.w [A2 + 0x302], 0x1 000004A4 666C bne +0x6E /* 00000512 */ 000004A6 426A 0302 clr.w [A2 + 0x302] 000004AA 3A3C 001C move.w D5, 0x1C 000004AE 0473 0064 5008 subi.w [A3 + D5.w + 0x8], 0x64 /* 'd' */ 000004B4 0C73 0000 5008 cmpi.w [A3 + D5.w + 0x8], 0x0 000004BA 6604 bne +0x6 /* 000004C0 */ 000004BC 4273 502A clr.w [A3 + D5.w + 0x2A] label000004C0: 000004C0 046B 0064 0026 subi.w [A3 + 0x26], 0x64 /* 'd' */ 000004C6 357C 00EF 01A0 move.w [A2 + 0x1A0], 0xEF 000004CC 356A 01A0 01A4 move.w [A2 + 0x1A4], [A2 + 0x1A0] 000004D2 066A 000D 01A4 addi.w [A2 + 0x1A4], 0xD /* '\r' */ 000004D8 4A2A 0134 tst.b [A2 + 0x134] 000004DC 6718 beq +0x1A /* 000004F6 */ 000004DE 2F3C 0000 001E move.l -[A7], 0x1E 000004E4 A862 syscall ForeColor 000004E6 486A 01A0 pea.l [A2 + 0x1A0] 000004EA A8A2 syscall PaintRect 000004EC 2F3C 0000 0021 move.l -[A7], 0x21 /* '!' */ 000004F2 A862 syscall ForeColor 000004F4 600A bra +0xC /* 00000500 */ label000004F6: 000004F6 486A 01A0 pea.l [A2 + 0x1A0] 000004FA 487A 1070 pea.l [PC + 0x1070 /* 0000156C, value 0x0, cstring "" */] 000004FE A8A5 syscall FillRect label00000500: 00000500 0C73 0001 502A cmpi.w [A3 + D5.w + 0x2A], 0x1 00000506 660A bne +0xC /* 00000512 */ 00000508 3F03 move.w -[A7], D3 0000050A 3605 move.w D3, D5 0000050C 4EBA 0D8E jsr [PC + 0xD8E /* 0000129C */] 00000510 361F move.w D3, [A7]+ label00000512: 00000512 4273 3008 clr.w [A3 + D3.w + 0x8] 00000516 4273 302A clr.w [A3 + D3.w + 0x2A] 0000051A 356A 0198 01A0 move.w [A2 + 0x1A0], [A2 + 0x198] 00000520 356A 019C 01A4 move.w [A2 + 0x1A4], [A2 + 0x19C] 00000526 4A2A 0134 tst.b [A2 + 0x134] 0000052A 6718 beq +0x1A /* 00000544 */ 0000052C 2F3C 0000 001E move.l -[A7], 0x1E 00000532 A862 syscall ForeColor 00000534 486A 01A0 pea.l [A2 + 0x1A0] 00000538 A8A2 syscall PaintRect 0000053A 2F3C 0000 0021 move.l -[A7], 0x21 /* '!' */ 00000540 A862 syscall ForeColor 00000542 600A bra +0xC /* 0000054E */ label00000544: 00000544 486A 01A0 pea.l [A2 + 0x1A0] 00000548 487A 1022 pea.l [PC + 0x1022 /* 0000156C, value 0x0, cstring "" */] 0000054C A8A5 syscall FillRect label0000054E: 0000054E 363C 001E move.w D3, 0x1E 00000552 3233 3008 move.w D1, [A3 + D3.w + 0x8] 00000556 9244 sub.w D1, D4 00000558 3781 3008 move.w [A3 + D3.w + 0x8], D1 0000055C 357C 00FE 01A0 move.w [A2 + 0x1A0], 0xFE 00000562 357C 010C 01A4 move.w [A2 + 0x1A4], 0x10C 00000568 4A2A 0134 tst.b [A2 + 0x134] 0000056C 6718 beq +0x1A /* 00000586 */ 0000056E 2F3C 0000 001E move.l -[A7], 0x1E 00000574 A862 syscall ForeColor 00000576 486A 01A0 pea.l [A2 + 0x1A0] 0000057A A8A2 syscall PaintRect 0000057C 2F3C 0000 0021 move.l -[A7], 0x21 /* '!' */ 00000582 A862 syscall ForeColor 00000584 600A bra +0xC /* 00000590 */ label00000586: 00000586 486A 01A0 pea.l [A2 + 0x1A0] 0000058A 487A 0FE0 pea.l [PC + 0xFE0 /* 0000156C, value 0x0, cstring "" */] 0000058E A8A5 syscall FillRect label00000590: 00000590 4EBA 0D0A jsr [PC + 0xD0A /* 0000129C */] 00000594 4EBA 067C jsr [PC + 0x67C /* 00000C12 */] label00000598: 00000598 4CDF 0838 movem.l D3,D4,D5,A3, [A7]+ 0000059C 6000 FBC0 bra -0x43E /* 0000015E */ fn000005A0: 000005A0 2F2A 011C move.l -[A7], [A2 + 0x11C] 000005A4 3F00 move.w -[A7], D0 000005A6 486A 0124 pea.l [A2 + 0x124] 000005AA 486A 0120 pea.l [A2 + 0x120] 000005AE 486A 0126 pea.l [A2 + 0x126] 000005B2 A98D syscall GetDialogItem/GetDItem 000005B4 4E75 rts fn000005B6: 000005B6 48E7 1810 movem.l -[A7], D3,D4,A3 000005BA 426A 0188 clr.w [A2 + 0x188] 000005BE 426A 018C clr.w [A2 + 0x18C] 000005C2 42A7 clr.l -[A7] 000005C4 3F2C 0026 move.w -[A7], [A4 + 0x26] 000005C8 42A7 clr.l -[A7] 000005CA 2F3C FFFF FFFF move.l -[A7], 0xFFFFFFFF 000005D0 A97C syscall GetNewDialog 000005D2 255F 011C move.l [A2 + 0x11C], [A7]+ 000005D6 303C 0004 move.w D0, 0x4 000005DA 4EBA FFC4 jsr [PC - 0x3C /* 000005A0 */] 000005DE 2F2A 0120 move.l -[A7], [A2 + 0x120] 000005E2 3F3C 0001 move.w -[A7], 0x1 000005E6 A963 syscall SetControlValue/SetCtlValue 000005E8 0C6A 0000 0016 cmpi.w [A2 + 0x16], 0x0 000005EE 660C bne +0xE /* 000005FC */ 000005F0 42A7 clr.l -[A7] 000005F2 3F2C 0026 move.w -[A7], [A4 + 0x26] 000005F6 A9BA syscall GetString 000005F8 255F 0016 move.l [A2 + 0x16], [A7]+ label000005FC: 000005FC 266A 0016 movea.l A3, [A2 + 0x16] 00000600 204B movea.l A0, A3 00000602 A029 syscall HLock 00000604 303C 0003 move.w D0, 0x3 00000608 4EBA FF96 jsr [PC - 0x6A /* 000005A0 */] 0000060C 2F2A 0120 move.l -[A7], [A2 + 0x120] 00000610 2F13 move.l -[A7], [A3] 00000612 A98F syscall SetDialogItemText/SetIText 00000614 4EBA 0D7E jsr [PC + 0xD7E /* 00001394 */] 00000618 204B movea.l A0, A3 0000061A A02A syscall HUnlock 0000061C 2F2A 011C move.l -[A7], [A2 + 0x11C] 00000620 3F3C 0008 move.w -[A7], 0x8 00000624 4267 clr.w -[A7] 00000626 3F3C 0003 move.w -[A7], 0x3 0000062A A97E syscall SelectDialogItemText/SelIText 0000062C 363C 0004 move.w D3, 0x4 00000630 47EA 01B8 lea.l A3, [A2 + 0x1B8] label00000634: 00000634 42A7 clr.l -[A7] 00000636 486A 011A pea.l [A2 + 0x11A] 0000063A A991 syscall ModalDialog 0000063C 0C6A 0001 011A cmpi.w [A2 + 0x11A], 0x1 00000642 6748 beq +0x4A /* 0000068C */ 00000644 0C6A 0002 011A cmpi.w [A2 + 0x11A], 0x2 0000064A 6606 bne +0x8 /* 00000652 */ 0000064C 4EBA 0D8E jsr [PC + 0xD8E /* 000013DC */] 00000650 60E2 bra -0x1C /* 00000634 */ label00000652: 00000652 3003 move.w D0, D3 00000654 4EBA FF4A jsr [PC - 0xB6 /* 000005A0 */] 00000658 2F2A 0120 move.l -[A7], [A2 + 0x120] 0000065C 4267 clr.w -[A7] 0000065E A963 syscall SetControlValue/SetCtlValue 00000660 302A 011A move.w D0, [A2 + 0x11A] 00000664 4EBA FF3A jsr [PC - 0xC6 /* 000005A0 */] 00000668 2F2A 0120 move.l -[A7], [A2 + 0x120] 0000066C 3F3C 0001 move.w -[A7], 0x1 00000670 A963 syscall SetControlValue/SetCtlValue 00000672 362A 011A move.w D3, [A2 + 0x11A] 00000676 2F2A 011C move.l -[A7], [A2 + 0x11C] 0000067A 586A 011A addq.w [A2 + 0x11A], 4 0000067E 3F2A 011A move.w -[A7], [A2 + 0x11A] 00000682 4267 clr.w -[A7] 00000684 3F3C 0003 move.w -[A7], 0x3 00000688 A97E syscall SelectDialogItemText/SelIText 0000068A 60A8 bra -0x56 /* 00000634 */ label0000068C: 0000068C 5743 subq.w D3, 3 0000068E 3543 0186 move.w [A2 + 0x186], D3 00000692 383C 0008 move.w D4, 0x8 00000696 3004 move.w D0, D4 label00000698: 00000698 41FA 0EDA lea.l A0, [PC + 0xEDA /* 00001574, value 0x4302020, pstring "0 " */] 0000069C 2550 001A move.l [A2 + 0x1A], [A0] 000006A0 4EBA FEFE jsr [PC - 0x102 /* 000005A0 */] 000006A4 2F2A 0120 move.l -[A7], [A2 + 0x120] 000006A8 486A 001A pea.l [A2 + 0x1A] 000006AC A990 syscall GetDialogItemText/GetIText 000006AE 0C2A 0004 001A cmpi.b [A2 + 0x1A], 0x4 000006B4 6D06 blt +0x8 /* 000006BC */ 000006B6 157C 0003 001A move.b [A2 + 0x1A], 0x3 label000006BC: 000006BC 26AA 001A move.l [A3], [A2 + 0x1A] 000006C0 5343 subq.w D3, 1 000006C2 670A beq +0xC /* 000006CE */ 000006C4 D6FC 004C add.w A3, 0x4C /* 'L' */ 000006C8 5244 addq.w D4, 1 000006CA 3004 move.w D0, D4 000006CC 60CA bra -0x34 /* 00000698 */ label000006CE: 000006CE 4EBA 02E0 jsr [PC + 0x2E0 /* 000009B0 */] 000006D2 2F2A 011C move.l -[A7], [A2 + 0x11C] 000006D6 A983 syscall DisposeDialog 000006D8 4CDF 0818 movem.l D3,D4,A3, [A7]+ 000006DC 4E75 rts fn000006DE: 000006DE 302C 0026 move.w D0, [A4 + 0x26] 000006E2 5240 addq.w D0, 1 000006E4 42A7 clr.l -[A7] 000006E6 3F00 move.w -[A7], D0 000006E8 42A7 clr.l -[A7] 000006EA 2F3C FFFF FFFF move.l -[A7], 0xFFFFFFFF 000006F0 A97C syscall GetNewDialog 000006F2 255F 011C move.l [A2 + 0x11C], [A7]+ 000006F6 42A7 clr.l -[A7] 000006F8 486A 011A pea.l [A2 + 0x11A] 000006FC A991 syscall ModalDialog 000006FE 2F2A 011C move.l -[A7], [A2 + 0x11C] 00000702 A983 syscall DisposeDialog 00000704 4E75 rts fn00000706: 00000706 48E7 1C10 movem.l -[A7], D3,D4,D5,A3 0000070A 2F2C 001E move.l -[A7], [A4 + 0x1E] 0000070E A873 syscall SetPort 00000710 4A2A 0134 tst.b [A2 + 0x134] 00000714 671C beq +0x1E /* 00000732 */ 00000716 2F3C 0000 0199 move.l -[A7], 0x199 0000071C A862 syscall ForeColor 0000071E 206C 001E movea.l A0, [A4 + 0x1E] 00000722 4868 0010 pea.l [A0 + 0x10] 00000726 A8A2 syscall PaintRect 00000728 2F3C 0000 0021 move.l -[A7], 0x21 /* '!' */ 0000072E A862 syscall ForeColor 00000730 6010 bra +0x12 /* 00000742 */ label00000732: 00000732 206C 001E movea.l A0, [A4 + 0x1E] 00000736 4868 0010 pea.l [A0 + 0x10] 0000073A 2055 movea.l A0, [A5] 0000073C 4868 FFE8 pea.l [A0 - 0x18] 00000740 A8A5 syscall FillRect label00000742: 00000742 4267 clr.w -[A7] 00000744 A887 syscall TextFont 00000746 3F3C 000C move.w -[A7], 0xC 0000074A A88A syscall TextSize 0000074C 4267 clr.w -[A7] 0000074E A888 syscall TextFace 00000750 41EA 0190 lea.l A0, [A2 + 0x190] 00000754 30FC 0066 move.w [A0]+, 0x66 /* 'f' */ 00000758 30FC 0055 move.w [A0]+, 0x55 /* 'U' */ 0000075C 30FC 0079 move.w [A0]+, 0x79 /* 'y' */ 00000760 30BC 0069 move.w [A0], 0x69 /* 'i' */ 00000764 486A 0190 pea.l [A2 + 0x190] 00000768 A8A1 syscall FrameRect 0000076A 486A 0190 pea.l [A2 + 0x190] 0000076E 3F3C 0001 move.w -[A7], 0x1 00000772 3F3C 0001 move.w -[A7], 0x1 00000776 A8A9 syscall InsetRect 00000778 4EBA 0498 jsr [PC + 0x498 /* 00000C12 */] 0000077C 47EA 014A lea.l A3, [A2 + 0x14A] 00000780 4243 clr.w D3 00000782 383C 000D move.w D4, 0xD /* '\r' */ 00000786 3A3C 0035 move.w D5, 0x35 /* '5' */ label0000078A: 0000078A 41EB 0004 lea.l A0, [A3 + 0x4] 0000078E 30C4 move.w [A0]+, D4 00000790 30FC 000F move.w [A0]+, 0xF 00000794 30C5 move.w [A0]+, D5 00000796 30BC 0038 move.w [A0], 0x38 /* '8' */ 0000079A 486B 0004 pea.l [A3 + 0x4] 0000079E A8A1 syscall FrameRect 000007A0 486B 0004 pea.l [A3 + 0x4] 000007A4 3F3C 0001 move.w -[A7], 0x1 000007A8 3F3C 0001 move.w -[A7], 0x1 000007AC A8A9 syscall InsetRect 000007AE 486B 0004 pea.l [A3 + 0x4] 000007B2 4A2A 0134 tst.b [A2 + 0x134] 000007B6 6714 beq +0x16 /* 000007CC */ 000007B8 2F3C 0000 0045 move.l -[A7], 0x45 /* 'E' */ 000007BE A862 syscall ForeColor 000007C0 A8A2 syscall PaintRect 000007C2 2F3C 0000 0021 move.l -[A7], 0x21 /* '!' */ 000007C8 A862 syscall ForeColor 000007CA 6006 bra +0x8 /* 000007D2 */ label000007CC: 000007CC 487A 0D9E pea.l [PC + 0xD9E /* 0000156C, value 0x0, cstring "" */] 000007D0 A8A5 syscall FillRect label000007D2: 000007D2 0C6A 0000 018A cmpi.w [A2 + 0x18A], 0x0 000007D8 6616 bne +0x18 /* 000007F0 */ 000007DA 3F3C 001E move.w -[A7], 0x1E 000007DE 302B 0004 move.w D0, [A3 + 0x4] 000007E2 0640 0018 addi.w D0, 0x18 000007E6 3F00 move.w -[A7], D0 000007E8 A893 syscall MoveTo 000007EA 3F3C 0014 move.w -[A7], 0x14 000007EE A883 syscall DrawChar label000007F0: 000007F0 5243 addq.w D3, 1 000007F2 0C43 0005 cmpi.w D3, 0x5 000007F6 670E beq +0x10 /* 00000806 */ 000007F8 D6FC 000C add.w A3, 0xC 000007FC 0644 0035 addi.w D4, 0x35 /* '5' */ 00000800 0645 0035 addi.w D5, 0x35 /* '5' */ 00000804 6084 bra -0x7A /* 0000078A */ label00000806: 00000806 4A2A 0134 tst.b [A2 + 0x134] 0000080A 6718 beq +0x1A /* 00000824 */ 0000080C 2F3C 0000 001E move.l -[A7], 0x1E 00000812 A862 syscall ForeColor 00000814 487A 0D4E pea.l [PC + 0xD4E /* 00001564, value 0xA0087, cstring "" */] 00000818 A8A2 syscall PaintRect 0000081A 2F3C 0000 0021 move.l -[A7], 0x21 /* '!' */ 00000820 A862 syscall ForeColor 00000822 600A bra +0xC /* 0000082E */ label00000824: 00000824 487A 0D3E pea.l [PC + 0xD3E /* 00001564, value 0xA0087, cstring "" */] 00000828 487A 0D42 pea.l [PC + 0xD42 /* 0000156C, value 0x0, cstring "" */] 0000082C A8A5 syscall FillRect label0000082E: 0000082E 487A 0D34 pea.l [PC + 0xD34 /* 00001564, value 0xA0087, cstring "" */] 00000832 A8A1 syscall FrameRect 00000834 2F2C 001E move.l -[A7], [A4 + 0x1E] 00000838 A969 syscall DrawControls 0000083A 363C 0001 move.w D3, 0x1 0000083E 383C 009A move.w D4, 0x9A 00000842 3A3C 0018 move.w D5, 0x18 00000846 3F3C 0001 move.w -[A7], 0x1 0000084A 3F3C 0002 move.w -[A7], 0x2 0000084E A89B syscall PenSize 00000850 4A2A 0134 tst.b [A2 + 0x134] 00000854 6708 beq +0xA /* 0000085E */ 00000856 2F3C 0000 0111 move.l -[A7], 0x111 0000085C A862 syscall ForeColor label0000085E: 0000085E 3F04 move.w -[A7], D4 00000860 3F05 move.w -[A7], D5 00000862 A893 syscall MoveTo 00000864 42A7 clr.l -[A7] 00000866 302C 0026 move.w D0, [A4 + 0x26] 0000086A D043 add.w D0, D3 0000086C 3F00 move.w -[A7], D0 0000086E A9BA syscall GetString 00000870 205F movea.l A0, [A7]+ 00000872 2F10 move.l -[A7], [A0] 00000874 A884 syscall DrawString 00000876 4A2A 0134 tst.b [A2 + 0x134] 0000087A 6708 beq +0xA /* 00000884 */ 0000087C 2F3C 0000 0021 move.l -[A7], 0x21 /* '!' */ 00000882 A862 syscall ForeColor label00000884: 00000884 5243 addq.w D3, 1 00000886 0C43 0012 cmpi.w D3, 0x12 0000088A 6756 beq +0x58 /* 000008E2 */ 0000088C 5645 addq.w D5, 3 0000088E 3F3C 0087 move.w -[A7], 0x87 00000892 3F05 move.w -[A7], D5 00000894 A893 syscall MoveTo 00000896 3F3C 019D move.w -[A7], 0x19D 0000089A 3F05 move.w -[A7], D5 0000089C A891 syscall LineTo 0000089E 0645 000C addi.w D5, 0xC 000008A2 0C43 0011 cmpi.w D3, 0x11 000008A6 6606 bne +0x8 /* 000008AE */ 000008A8 3F3C 0001 move.w -[A7], 0x1 000008AC A888 syscall TextFace label000008AE: 000008AE 4A2A 0134 tst.b [A2 + 0x134] 000008B2 6708 beq +0xA /* 000008BC */ 000008B4 2F3C 0000 00CD move.l -[A7], 0xCD 000008BA A862 syscall ForeColor label000008BC: 000008BC 0C43 0002 cmpi.w D3, 0x2 000008C0 669C bne -0x62 /* 0000085E */ 000008C2 3F3C 0004 move.w -[A7], 0x4 000008C6 A887 syscall TextFont 000008C8 3F3C 0009 move.w -[A7], 0x9 /* '\t' */ 000008CC A88A syscall TextSize 000008CE 3F3C 0001 move.w -[A7], 0x1 000008D2 3F3C 0001 move.w -[A7], 0x1 000008D6 A89B syscall PenSize 000008D8 5245 addq.w D5, 1 000008DA 383C 008F move.w D4, 0x8F 000008DE 6000 FF7E bra -0x80 /* 0000085E */ label000008E2: 000008E2 4267 clr.w -[A7] 000008E4 A888 syscall TextFace 000008E6 3F3C 0002 move.w -[A7], 0x2 000008EA 3F3C 0001 move.w -[A7], 0x1 000008EE A89B syscall PenSize 000008F0 363C 00F4 move.w D3, 0xF4 000008F4 3F03 move.w -[A7], D3 000008F6 3F3C 000A move.w -[A7], 0xA /* '\n' */ 000008FA A893 syscall MoveTo 000008FC 3F03 move.w -[A7], D3 000008FE 3F3C 010C move.w -[A7], 0x10C 00000902 A891 syscall LineTo 00000904 3F3C 0001 move.w -[A7], 0x1 00000908 3F3C 0001 move.w -[A7], 0x1 0000090C A89B syscall PenSize 0000090E 5243 addq.w D3, 1 label00000910: 00000910 3F03 move.w -[A7], D3 00000912 3F3C 000A move.w -[A7], 0xA /* '\n' */ 00000916 A893 syscall MoveTo 00000918 3F03 move.w -[A7], D3 0000091A 3F3C 010C move.w -[A7], 0x10C 0000091E A891 syscall LineTo 00000920 0643 002A addi.w D3, 0x2A /* '*' */ 00000924 0C43 0190 cmpi.w D3, 0x190 00000928 6DE6 blt -0x18 /* 00000910 */ 0000092A 4267 clr.w -[A7] 0000092C A887 syscall TextFont 0000092E 3F3C 000C move.w -[A7], 0xC 00000932 A88A syscall TextSize 00000934 4267 clr.w -[A7] 00000936 A888 syscall TextFace 00000938 357C 000B 01A8 move.w [A2 + 0x1A8], 0xB 0000093E 357C 00F6 01AA move.w [A2 + 0x1AA], 0xF6 00000944 357C 001B 01AC move.w [A2 + 0x1AC], 0x1B 0000094A 357C 011F 01AE move.w [A2 + 0x1AE], 0x11F 00000950 4CDF 0838 movem.l D3,D4,D5,A3, [A7]+ 00000954 4E75 rts fn00000956: 00000956 48E7 1810 movem.l -[A7], D3,D4,A3 0000095A 4243 clr.w D3 0000095C 4A2A 0134 tst.b [A2 + 0x134] 00000960 6708 beq +0xA /* 0000096A */ 00000962 2F3C 0000 0111 move.l -[A7], 0x111 00000968 A862 syscall ForeColor label0000096A: 0000096A 47EA 01B8 lea.l A3, [A2 + 0x1B8] 0000096E 383C 010A move.w D4, 0x10A label00000972: 00000972 4267 clr.w -[A7] 00000974 4853 pea.l [A3] 00000976 A88C syscall StringWidth 00000978 301F move.w D0, [A7]+ 0000097A E240 asr D0.w, 1 0000097C 3204 move.w D1, D4 0000097E 9240 sub.w D1, D0 00000980 3F01 move.w -[A7], D1 00000982 3F3C 0018 move.w -[A7], 0x18 00000986 A893 syscall MoveTo 00000988 4853 pea.l [A3] 0000098A A884 syscall DrawString 0000098C 5243 addq.w D3, 1 0000098E D6FC 004C add.w A3, 0x4C /* 'L' */ 00000992 0644 002A addi.w D4, 0x2A /* '*' */ 00000996 B66A 0186 cmp.w D3, [A2 + 0x186] 0000099A 66D6 bne -0x28 /* 00000972 */ 0000099C 4A2A 0134 tst.b [A2 + 0x134] 000009A0 6708 beq +0xA /* 000009AA */ 000009A2 2F3C 0000 0021 move.l -[A7], 0x21 /* '!' */ 000009A8 A862 syscall ForeColor label000009AA: 000009AA 4CDF 0818 movem.l D3,D4,A3, [A7]+ 000009AE 4E75 rts fn000009B0: 000009B0 48E7 1810 movem.l -[A7], D3,D4,A3 000009B4 357C 001D 01A0 move.w [A2 + 0x1A0], 0x1D 000009BA 357C 00F6 01A2 move.w [A2 + 0x1A2], 0xF6 000009C0 357C 002B 01A4 move.w [A2 + 0x1A4], 0x2B /* '+' */ 000009C6 357C 011E 01A6 move.w [A2 + 0x1A6], 0x11E 000009CC 0C6A 0000 0188 cmpi.w [A2 + 0x188], 0x0 000009D2 6766 beq +0x68 /* 00000A3A */ 000009D4 383C 0010 move.w D4, 0x10 000009D8 7604 moveq.l D3, 0x04 000009DA 486A 01B0 pea.l [A2 + 0x1B0] 000009DE A8A4 syscall InvertRect 000009E0 426A 0188 clr.w [A2 + 0x188] label000009E4: 000009E4 4A2A 0134 tst.b [A2 + 0x134] 000009E8 6710 beq +0x12 /* 000009FA */ 000009EA 2F3C 0000 001E move.l -[A7], 0x1E 000009F0 A862 syscall ForeColor 000009F2 486A 01A0 pea.l [A2 + 0x1A0] 000009F6 A8A2 syscall PaintRect 000009F8 600A bra +0xC /* 00000A04 */ label000009FA: 000009FA 486A 01A0 pea.l [A2 + 0x1A0] 000009FE 487A 0B6C pea.l [PC + 0xB6C /* 0000156C, value 0x0, cstring "" */] 00000A02 A8A5 syscall FillRect label00000A04: 00000A04 486A 01A0 pea.l [A2 + 0x1A0] 00000A08 4267 clr.w -[A7] 00000A0A 3F3C 000F move.w -[A7], 0xF 00000A0E A8A8 syscall OffsetRect 00000A10 5344 subq.w D4, 1 00000A12 66D0 bne -0x2E /* 000009E4 */ 00000A14 486A 01A0 pea.l [A2 + 0x1A0] 00000A18 3F3C 002A move.w -[A7], 0x2A /* '*' */ 00000A1C 3F3C FF10 move.w -[A7], 0xFF10 00000A20 A8A8 syscall OffsetRect 00000A22 383C 0010 move.w D4, 0x10 00000A26 5343 subq.w D3, 1 00000A28 66BA bne -0x44 /* 000009E4 */ 00000A2A 4A2A 0134 tst.b [A2 + 0x134] 00000A2E 6708 beq +0xA /* 00000A38 */ 00000A30 2F3C 0000 0021 move.l -[A7], 0x21 /* '!' */ 00000A36 A862 syscall ForeColor label00000A38: 00000A38 6006 bra +0x8 /* 00000A40 */ label00000A3A: 00000A3A 487A 0B28 pea.l [PC + 0xB28 /* 00001564, value 0xA0087, cstring "" */] 00000A3E A928 syscall InvalRect label00000A40: 00000A40 302A 0186 move.w D0, [A2 + 0x186] 00000A44 7211 moveq.l D1, 0x11 00000A46 47EA 01B8 lea.l A3, [A2 + 0x1B8] label00000A4A: 00000A4A 41EB 0008 lea.l A0, [A3 + 0x8] 00000A4E 43EB 002A lea.l A1, [A3 + 0x2A] label00000A52: 00000A52 4258 clr.w [A0]+ 00000A54 4259 clr.w [A1]+ 00000A56 5341 subq.w D1, 1 00000A58 66F8 bne -0x6 /* 00000A52 */ 00000A5A 5340 subq.w D0, 1 00000A5C 6708 beq +0xA /* 00000A66 */ 00000A5E 7211 moveq.l D1, 0x11 00000A60 D6FC 004C add.w A3, 0x4C /* 'L' */ 00000A64 60E4 bra -0x1A /* 00000A4A */ label00000A66: 00000A66 4240 clr.w D0 00000A68 47EA 014A lea.l A3, [A2 + 0x14A] label00000A6C: 00000A6C 4253 clr.w [A3] 00000A6E 377C 0001 0002 move.w [A3 + 0x2], 0x1 00000A74 D6FC 000C add.w A3, 0xC 00000A78 5240 addq.w D0, 1 00000A7A 0C40 0005 cmpi.w D0, 0x5 00000A7E 66EC bne -0x12 /* 00000A6C */ 00000A80 426A 018C clr.w [A2 + 0x18C] 00000A84 426A 018A clr.w [A2 + 0x18A] 00000A88 426A 018E clr.w [A2 + 0x18E] 00000A8C 2F2A 0146 move.l -[A7], [A2 + 0x146] 00000A90 3F3C 0006 move.w -[A7], 0x6 00000A94 A93A syscall DisableItem 00000A96 256A 01A8 01B0 move.l [A2 + 0x1B0], [A2 + 0x1A8] 00000A9C 256A 01AC 01B4 move.l [A2 + 0x1B4], [A2 + 0x1AC] 00000AA2 4EBA 0008 jsr [PC + 0x8 /* 00000AAC */] 00000AA6 4CDF 0818 movem.l D3,D4,A3, [A7]+ 00000AAA 4E75 rts fn00000AAC: 00000AAC 48E7 1010 movem.l -[A7], D3,A3 00000AB0 0C6A 0000 0188 cmpi.w [A2 + 0x188], 0x0 00000AB6 6706 beq +0x8 /* 00000ABE */ 00000AB8 486A 01B0 pea.l [A2 + 0x1B0] 00000ABC A8A4 syscall InvertRect label00000ABE: 00000ABE 526A 0188 addq.w [A2 + 0x188], 1 00000AC2 0C6A 0001 0188 cmpi.w [A2 + 0x188], 0x1 00000AC8 672C beq +0x2E /* 00000AF6 */ 00000ACA 486A 01B0 pea.l [A2 + 0x1B0] 00000ACE 3F3C 002A move.w -[A7], 0x2A /* '*' */ 00000AD2 4267 clr.w -[A7] 00000AD4 A8A8 syscall OffsetRect 00000AD6 302A 0188 move.w D0, [A2 + 0x188] 00000ADA B06A 0186 cmp.w D0, [A2 + 0x186] 00000ADE 6F16 ble +0x18 /* 00000AF6 */ 00000AE0 526A 018C addq.w [A2 + 0x18C], 1 00000AE4 357C 0001 0188 move.w [A2 + 0x188], 0x1 00000AEA 256A 01A8 01B0 move.l [A2 + 0x1B0], [A2 + 0x1A8] 00000AF0 256A 01AC 01B4 move.l [A2 + 0x1B4], [A2 + 0x1AC] label00000AF6: 00000AF6 486A 01B0 pea.l [A2 + 0x1B0] 00000AFA A8A4 syscall InvertRect 00000AFC 47EA 014A lea.l A3, [A2 + 0x14A] 00000B00 4243 clr.w D3 label00000B02: 00000B02 486B 0004 pea.l [A3 + 0x4] 00000B06 4A2A 0134 tst.b [A2 + 0x134] 00000B0A 670C beq +0xE /* 00000B18 */ 00000B0C 2F3C 0000 0045 move.l -[A7], 0x45 /* 'E' */ 00000B12 A862 syscall ForeColor 00000B14 A8A2 syscall PaintRect 00000B16 6006 bra +0x8 /* 00000B1E */ label00000B18: 00000B18 487A 0A52 pea.l [PC + 0xA52 /* 0000156C, value 0x0, cstring "" */] 00000B1C A8A5 syscall FillRect label00000B1E: 00000B1E 4A2A 0134 tst.b [A2 + 0x134] 00000B22 6708 beq +0xA /* 00000B2C */ 00000B24 2F3C 0000 0021 move.l -[A7], 0x21 /* '!' */ 00000B2A A862 syscall ForeColor label00000B2C: 00000B2C 3F3C 001E move.w -[A7], 0x1E 00000B30 302B 0004 move.w D0, [A3 + 0x4] 00000B34 0640 0018 addi.w D0, 0x18 00000B38 3F00 move.w -[A7], D0 00000B3A A893 syscall MoveTo 00000B3C 3F3C 0014 move.w -[A7], 0x14 00000B40 A883 syscall DrawChar 00000B42 377C 0001 0002 move.w [A3 + 0x2], 0x1 00000B48 D6FC 000C add.w A3, 0xC 00000B4C 5243 addq.w D3, 1 00000B4E 0C43 0005 cmpi.w D3, 0x5 00000B52 66AE bne -0x50 /* 00000B02 */ 00000B54 426A 018A clr.w [A2 + 0x18A] 00000B58 4EBA 00B8 jsr [PC + 0xB8 /* 00000C12 */] 00000B5C 4CDF 0808 movem.l D3,A3, [A7]+ 00000B60 4E75 rts fn00000B62: 00000B62 48E7 1030 movem.l -[A7], D3,A2,A3 00000B66 4243 clr.w D3 00000B68 45EA 014A lea.l A2, [A2 + 0x14A] label00000B6C: 00000B6C 4267 clr.w -[A7] 00000B6E 2F2B 000A move.l -[A7], [A3 + 0xA] 00000B72 486A 0004 pea.l [A2 + 0x4] 00000B76 A8AD syscall PtInRect 00000B78 301F move.w D0, [A7]+ 00000B7A 671C beq +0x1E /* 00000B98 */ 00000B7C 486A 0004 pea.l [A2 + 0x4] 00000B80 A8A4 syscall InvertRect 00000B82 0C6A 0001 0002 cmpi.w [A2 + 0x2], 0x1 00000B88 6708 beq +0xA /* 00000B92 */ 00000B8A 357C 0001 0002 move.w [A2 + 0x2], 0x1 00000B90 6012 bra +0x14 /* 00000BA4 */ label00000B92: 00000B92 426A 0002 clr.w [A2 + 0x2] 00000B96 600C bra +0xE /* 00000BA4 */ label00000B98: 00000B98 D4FC 000C add.w A2, 0xC 00000B9C 5243 addq.w D3, 1 00000B9E 0C43 0005 cmpi.w D3, 0x5 00000BA2 66C8 bne -0x36 /* 00000B6C */ label00000BA4: 00000BA4 4CDF 0C08 movem.l D3,A2,A3, [A7]+ 00000BA8 4E75 rts fn00000BAA: 00000BAA 48E7 1810 movem.l -[A7], D3,D4,A3 00000BAE 47EA 014A lea.l A3, [A2 + 0x14A] 00000BB2 7600 moveq.l D3, 0x00 label00000BB4: 00000BB4 0C6B 0000 0002 cmpi.w [A3 + 0x2], 0x0 00000BBA 6728 beq +0x2A /* 00000BE4 */ 00000BBC 383C 0011 move.w D4, 0x11 label00000BC0: 00000BC0 7000 moveq.l D0, 0x00 00000BC2 4267 clr.w -[A7] 00000BC4 A861 syscall Random 00000BC6 301F move.w D0, [A7]+ 00000BC8 0280 0000 7FFF andi.l D0, 0x7FFF 00000BCE 80FC 0006 divu.w D0, 0x6 00000BD2 4840 swap.w D0 00000BD4 5240 addq.w D0, 1 00000BD6 3680 move.w [A3], D0 00000BD8 4EBA 0082 jsr [PC + 0x82 /* 00000C5C */] 00000BDC 5344 subq.w D4, 1 00000BDE 66E0 bne -0x1E /* 00000BC0 */ 00000BE0 426B 0002 clr.w [A3 + 0x2] label00000BE4: 00000BE4 5243 addq.w D3, 1 00000BE6 D6FC 000C add.w A3, 0xC 00000BEA 0C43 0005 cmpi.w D3, 0x5 00000BEE 66C4 bne -0x3A /* 00000BB4 */ 00000BF0 066A 0001 018A addi.w [A2 + 0x18A], 0x1 00000BF6 4EBA 001A jsr [PC + 0x1A /* 00000C12 */] 00000BFA 426A 018E clr.w [A2 + 0x18E] 00000BFE 2F2A 0146 move.l -[A7], [A2 + 0x146] 00000C02 3F3C 0006 move.w -[A7], 0x6 00000C06 A93A syscall DisableItem 00000C08 426A 0302 clr.w [A2 + 0x302] 00000C0C 4CDF 0818 movem.l D3,D4,A3, [A7]+ 00000C10 4E75 rts fn00000C12: 00000C12 4267 clr.w -[A7] 00000C14 A887 syscall TextFont 00000C16 3F3C 000C move.w -[A7], 0xC 00000C1A A88A syscall TextSize 00000C1C 4A2A 0134 tst.b [A2 + 0x134] 00000C20 6718 beq +0x1A /* 00000C3A */ 00000C22 2F3C 0000 0089 move.l -[A7], 0x89 00000C28 A862 syscall ForeColor 00000C2A 486A 0190 pea.l [A2 + 0x190] 00000C2E A8A2 syscall PaintRect 00000C30 2F3C 0000 0021 move.l -[A7], 0x21 /* '!' */ 00000C36 A862 syscall ForeColor 00000C38 600A bra +0xC /* 00000C44 */ label00000C3A: 00000C3A 486A 0190 pea.l [A2 + 0x190] 00000C3E 487A 092C pea.l [PC + 0x92C /* 0000156C, value 0x0, cstring "" */] 00000C42 A8A5 syscall FillRect label00000C44: 00000C44 3F3C 005B move.w -[A7], 0x5B /* '[' */ 00000C48 3F3C 0074 move.w -[A7], 0x74 /* 't' */ 00000C4C A893 syscall MoveTo 00000C4E 302A 018A move.w D0, [A2 + 0x18A] 00000C52 0640 0030 addi.w D0, 0x30 /* '0' */ 00000C56 3F00 move.w -[A7], D0 00000C58 A883 syscall DrawChar 00000C5A 4E75 rts fn00000C5C: 00000C5C 3F3C 0004 move.w -[A7], 0x4 00000C60 A887 syscall TextFont 00000C62 3F3C 0009 move.w -[A7], 0x9 /* '\t' */ 00000C66 A88A syscall TextSize 00000C68 4267 clr.w -[A7] 00000C6A A888 syscall TextFace 00000C6C 486B 0004 pea.l [A3 + 0x4] 00000C70 4A2A 0134 tst.b [A2 + 0x134] 00000C74 6714 beq +0x16 /* 00000C8A */ 00000C76 2F3C 0000 0045 move.l -[A7], 0x45 /* 'E' */ 00000C7C A862 syscall ForeColor 00000C7E A8A2 syscall PaintRect 00000C80 2F3C 0000 0021 move.l -[A7], 0x21 /* '!' */ 00000C86 A862 syscall ForeColor 00000C88 6006 bra +0x8 /* 00000C90 */ label00000C8A: 00000C8A 487A 08E0 pea.l [PC + 0x8E0 /* 0000156C, value 0x0, cstring "" */] 00000C8E A8A5 syscall FillRect label00000C90: 00000C90 0C53 0001 cmpi.w [A3], 0x1 00000C94 6E06 bgt +0x8 /* 00000C9C */ 00000C96 4EBA 0048 jsr [PC + 0x48 /* 00000CE0 */] 00000C9A 6034 bra +0x36 /* 00000CD0 */ label00000C9C: 00000C9C 0C53 0002 cmpi.w [A3], 0x2 00000CA0 6E06 bgt +0x8 /* 00000CA8 */ 00000CA2 4EBA 005A jsr [PC + 0x5A /* 00000CFE */] 00000CA6 6028 bra +0x2A /* 00000CD0 */ label00000CA8: 00000CA8 0C53 0003 cmpi.w [A3], 0x3 00000CAC 6E06 bgt +0x8 /* 00000CB4 */ 00000CAE 4EBA 0088 jsr [PC + 0x88 /* 00000D38 */] 00000CB2 601C bra +0x1E /* 00000CD0 */ label00000CB4: 00000CB4 0C53 0004 cmpi.w [A3], 0x4 00000CB8 6E06 bgt +0x8 /* 00000CC0 */ 00000CBA 4EBA 0086 jsr [PC + 0x86 /* 00000D42 */] 00000CBE 6010 bra +0x12 /* 00000CD0 */ label00000CC0: 00000CC0 0C53 0005 cmpi.w [A3], 0x5 00000CC4 6606 bne +0x8 /* 00000CCC */ 00000CC6 4EBA 00B8 jsr [PC + 0xB8 /* 00000D80 */] 00000CCA 6004 bra +0x6 /* 00000CD0 */ label00000CCC: 00000CCC 4EBA 00BC jsr [PC + 0xBC /* 00000D8A */] label00000CD0: 00000CD0 4267 clr.w -[A7] 00000CD2 A887 syscall TextFont 00000CD4 3F3C 000C move.w -[A7], 0xC 00000CD8 A88A syscall TextSize 00000CDA 4267 clr.w -[A7] 00000CDC A888 syscall TextFace 00000CDE 4E75 rts fn00000CE0: 00000CE0 303C 000F move.w D0, 0xF 00000CE4 0640 0012 addi.w D0, 0x12 00000CE8 3F00 move.w -[A7], D0 00000CEA 302B 0004 move.w D0, [A3 + 0x4] 00000CEE 0640 0016 addi.w D0, 0x16 00000CF2 3F00 move.w -[A7], D0 00000CF4 A893 syscall MoveTo 00000CF6 3F3C 00A5 move.w -[A7], 0xA5 00000CFA A883 syscall DrawChar 00000CFC 4E75 rts fn00000CFE: 00000CFE 303C 000F move.w D0, 0xF 00000D02 0640 001B addi.w D0, 0x1B 00000D06 3F00 move.w -[A7], D0 00000D08 302B 0004 move.w D0, [A3 + 0x4] 00000D0C 0640 000C addi.w D0, 0xC 00000D10 3F00 move.w -[A7], D0 00000D12 A893 syscall MoveTo 00000D14 3F3C 00A5 move.w -[A7], 0xA5 00000D18 A883 syscall DrawChar 00000D1A 303C 000F move.w D0, 0xF 00000D1E 0640 0009 addi.w D0, 0x9 /* '\t' */ 00000D22 3F00 move.w -[A7], D0 00000D24 302B 0004 move.w D0, [A3 + 0x4] 00000D28 0640 0020 addi.w D0, 0x20 /* ' ' */ 00000D2C 3F00 move.w -[A7], D0 00000D2E A893 syscall MoveTo 00000D30 3F3C 00A5 move.w -[A7], 0xA5 00000D34 A883 syscall DrawChar 00000D36 4E75 rts fn00000D38: 00000D38 4EBA FFC4 jsr [PC - 0x3C /* 00000CFE */] 00000D3C 4EBA FFA2 jsr [PC - 0x5E /* 00000CE0 */] 00000D40 4E75 rts fn00000D42: 00000D42 4EBA FFBA jsr [PC - 0x46 /* 00000CFE */] 00000D46 303C 000F move.w D0, 0xF 00000D4A 0640 0009 addi.w D0, 0x9 /* '\t' */ 00000D4E 3F00 move.w -[A7], D0 00000D50 302B 0004 move.w D0, [A3 + 0x4] 00000D54 0640 000C addi.w D0, 0xC 00000D58 3F00 move.w -[A7], D0 00000D5A A893 syscall MoveTo 00000D5C 3F3C 00A5 move.w -[A7], 0xA5 00000D60 A883 syscall DrawChar 00000D62 303C 000F move.w D0, 0xF 00000D66 0640 001B addi.w D0, 0x1B 00000D6A 3F00 move.w -[A7], D0 00000D6C 302B 0004 move.w D0, [A3 + 0x4] 00000D70 0640 0020 addi.w D0, 0x20 /* ' ' */ 00000D74 3F00 move.w -[A7], D0 00000D76 A893 syscall MoveTo 00000D78 3F3C 00A5 move.w -[A7], 0xA5 00000D7C A883 syscall DrawChar 00000D7E 4E75 rts fn00000D80: 00000D80 4EBA FFC0 jsr [PC - 0x40 /* 00000D42 */] 00000D84 4EBA FF5A jsr [PC - 0xA6 /* 00000CE0 */] 00000D88 4E75 rts fn00000D8A: 00000D8A 4EBA FFB6 jsr [PC - 0x4A /* 00000D42 */] 00000D8E 303C 000F move.w D0, 0xF 00000D92 0640 0009 addi.w D0, 0x9 /* '\t' */ 00000D96 3F00 move.w -[A7], D0 00000D98 302B 0004 move.w D0, [A3 + 0x4] 00000D9C 0640 0016 addi.w D0, 0x16 00000DA0 3F00 move.w -[A7], D0 00000DA2 A893 syscall MoveTo 00000DA4 3F3C 00A5 move.w -[A7], 0xA5 00000DA8 A883 syscall DrawChar 00000DAA 303C 000F move.w D0, 0xF 00000DAE 0640 001B addi.w D0, 0x1B 00000DB2 3F00 move.w -[A7], D0 00000DB4 302B 0004 move.w D0, [A3 + 0x4] 00000DB8 0640 0016 addi.w D0, 0x16 00000DBC 3F00 move.w -[A7], D0 00000DBE A893 syscall MoveTo 00000DC0 3F3C 00A5 move.w -[A7], 0xA5 00000DC4 A883 syscall DrawChar 00000DC6 4E75 rts fn00000DC8: 00000DC8 48E7 1C10 movem.l -[A7], D3,D4,D5,A3 00000DCC 0C6A 0000 0188 cmpi.w [A2 + 0x188], 0x0 00000DD2 6700 0190 beq +0x192 /* 00000F64 */ 00000DD6 357C 001D 0198 move.w [A2 + 0x198], 0x1D 00000DDC 357C 0088 019A move.w [A2 + 0x19A], 0x88 00000DE2 357C 002B 019C move.w [A2 + 0x19C], 0x2B /* '+' */ 00000DE8 357C 00F4 019E move.w [A2 + 0x19E], 0xF4 00000DEE 302A 0188 move.w D0, [A2 + 0x188] 00000DF2 5340 subq.w D0, 1 00000DF4 C0FC 002A mulu.w D0, 0x2A /* '*' */ 00000DF8 0640 00F6 addi.w D0, 0xF6 00000DFC 357C 001D 01A0 move.w [A2 + 0x1A0], 0x1D 00000E02 3540 01A2 move.w [A2 + 0x1A2], D0 00000E06 357C 002B 01A4 move.w [A2 + 0x1A4], 0x2B /* '+' */ 00000E0C 0640 0028 addi.w D0, 0x28 /* '(' */ 00000E10 3540 01A6 move.w [A2 + 0x1A6], D0 00000E14 4243 clr.w D3 label00000E16: 00000E16 4267 clr.w -[A7] 00000E18 2F2B 000A move.l -[A7], [A3 + 0xA] 00000E1C 486A 0198 pea.l [A2 + 0x198] 00000E20 A8AD syscall PtInRect 00000E22 301F move.w D0, [A7]+ 00000E24 6634 bne +0x36 /* 00000E5A */ 00000E26 4267 clr.w -[A7] 00000E28 2F2B 000A move.l -[A7], [A3 + 0xA] 00000E2C 486A 01A0 pea.l [A2 + 0x1A0] 00000E30 A8AD syscall PtInRect 00000E32 301F move.w D0, [A7]+ 00000E34 6624 bne +0x26 /* 00000E5A */ 00000E36 486A 0198 pea.l [A2 + 0x198] 00000E3A 4267 clr.w -[A7] 00000E3C 3F3C 000F move.w -[A7], 0xF 00000E40 A8A8 syscall OffsetRect 00000E42 486A 01A0 pea.l [A2 + 0x1A0] 00000E46 4267 clr.w -[A7] 00000E48 3F3C 000F move.w -[A7], 0xF 00000E4C A8A8 syscall OffsetRect 00000E4E 5243 addq.w D3, 1 00000E50 0C43 000D cmpi.w D3, 0xD /* '\r' */ 00000E54 66C0 bne -0x3E /* 00000E16 */ 00000E56 6000 010C bra +0x10E /* 00000F64 */ label00000E5A: 00000E5A 47EA 01B8 lea.l A3, [A2 + 0x1B8] 00000E5E 302A 0188 move.w D0, [A2 + 0x188] 00000E62 5340 subq.w D0, 1 00000E64 C0FC 004C mulu.w D0, 0x4C /* 'L' */ 00000E68 D6C0 add.w A3, D0 00000E6A 254B 02EC move.l [A2 + 0x2EC], A3 00000E6E E343 asl D3.w, 1 00000E70 0C73 0001 302A cmpi.w [A3 + D3.w + 0x2A], 0x1 00000E76 6700 00E6 beq +0xE8 /* 00000F5E */ 00000E7A 486A 0198 pea.l [A2 + 0x198] 00000E7E A8A4 syscall InvertRect 00000E80 3003 move.w D0, D3 00000E82 303B 0006 move.w D0, [PC + D0.w + 0x6] 00000E86 4EFB 0002 jmp [PC + D0.w + 0x2] 00000E8A 00E0 .incomplete 00000E8C 00E0 .incomplete 00000E8E 00E0 .incomplete 00000E90 00E0 .incomplete 00000E92 00E0 .incomplete 00000E94 00E0 .incomplete 00000E96 012E 0152 btst [A6 + 0x152], D0 00000E9A 019A bclr [A2]+, D0 00000E9C 01E4 .incomplete 00000E9E 024E 02DC andi.w A6, 0x2DC 00000EA2 0330 37BC btst <>, D1 // begin alternate branch 00000EA4-00000EAA label00000EA4: 00000EA4 37BC 0001 302A move.w [A3 + D3.w + 0x2A], 0x1 // end alternate branch 00000EA4-00000EAA label00000EA4: // (misaligned) 00000EA6 0001 302A ori.b D1, 0x2A /* '*' */ 00000EAA 4EBA 03F0 jsr [PC + 0x3F0 /* 0000129C */] 00000EAE 41EA 02EC lea.l A0, [A2 + 0x2EC] 00000EB2 3173 3008 0014 move.w [A0 + 0x14], [A3 + D3.w + 0x8] 00000EB8 316A 018A 0010 move.w [A0 + 0x10], [A2 + 0x18A] 00000EBE 316A 0188 000E move.w [A0 + 0xE], [A2 + 0x188] 00000EC4 316A 018C 0018 move.w [A0 + 0x18], [A2 + 0x18C] 00000ECA 3143 0012 move.w [A0 + 0x12], D3 00000ECE 7005 moveq.l D0, 0x05 00000ED0 43EA 014A lea.l A1, [A2 + 0x14A] label00000ED4: 00000ED4 3151 0004 move.w [A0 + 0x4], [A1] 00000ED8 D2FC 000C add.w A1, 0xC 00000EDC 5448 addq.w A0, 2 00000EDE 5340 subq.w D0, 1 00000EE0 66F2 bne -0xC /* 00000ED4 */ 00000EE2 357C 0001 018E move.w [A2 + 0x18E], 0x1 00000EE8 2F2A 0146 move.l -[A7], [A2 + 0x146] 00000EEC 3F3C 0006 move.w -[A7], 0x6 00000EF0 A939 syscall EnableItem 00000EF2 3033 3008 move.w D0, [A3 + D3.w + 0x8] 00000EF6 266A 02EC movea.l A3, [A2 + 0x2EC] 00000EFA 363C 001E move.w D3, 0x1E 00000EFE 3233 3008 move.w D1, [A3 + D3.w + 0x8] 00000F02 D240 add.w D1, D0 00000F04 3781 3008 move.w [A3 + D3.w + 0x8], D1 00000F08 37BC 0001 302A move.w [A3 + D3.w + 0x2A], 0x1 00000F0E 0C6A 000C 018C cmpi.w [A2 + 0x18C], 0xC 00000F14 6D04 blt +0x6 /* 00000F1A */ 00000F16 4EBA 0410 jsr [PC + 0x410 /* 00001328 */] label00000F1A: 00000F1A 357C 00FE 01A0 move.w [A2 + 0x1A0], 0xFE 00000F20 357C 010C 01A4 move.w [A2 + 0x1A4], 0x10C 00000F26 4A2A 0134 tst.b [A2 + 0x134] 00000F2A 6718 beq +0x1A /* 00000F44 */ 00000F2C 2F3C 0000 001E move.l -[A7], 0x1E 00000F32 A862 syscall ForeColor 00000F34 486A 01A0 pea.l [A2 + 0x1A0] 00000F38 A8A2 syscall PaintRect 00000F3A 2F3C 0000 0021 move.l -[A7], 0x21 /* '!' */ 00000F40 A862 syscall ForeColor 00000F42 600A bra +0xC /* 00000F4E */ label00000F44: 00000F44 486A 01A0 pea.l [A2 + 0x1A0] 00000F48 487A 0622 pea.l [PC + 0x622 /* 0000156C, value 0x0, cstring "" */] 00000F4C A8A5 syscall FillRect label00000F4E: 00000F4E 4EBA 034C jsr [PC + 0x34C /* 0000129C */] 00000F52 4EBA FB58 jsr [PC - 0x4A8 /* 00000AAC */] 00000F56 486A 0198 pea.l [A2 + 0x198] 00000F5A A8A4 syscall InvertRect 00000F5C 6006 bra +0x8 /* 00000F64 */ label00000F5E: 00000F5E 3F3C 0001 move.w -[A7], 0x1 00000F62 A9C8 syscall SysBeep label00000F64: 00000F64 4CDF 0838 movem.l D3,D4,D5,A3, [A7]+ 00000F68 4E75 rts 00000F6A 4267 clr.w -[A7] 00000F6C 4EBA 026A jsr [PC + 0x26A /* 000011D8 */] 00000F70 301F move.w D0, [A7]+ 00000F72 0C40 0001 cmpi.w D0, 0x1 00000F76 6616 bne +0x18 /* 00000F8E */ 00000F78 41EA 014A lea.l A0, [A2 + 0x14A] 00000F7C 3210 move.w D1, [A0] 00000F7E C2FC 0005 mulu.w D1, 0x5 00000F82 3781 3008 move.w [A3 + D3.w + 0x8], D1 00000F86 D36B 0028 add.w [A3 + 0x28], D1 00000F8A 6000 FF18 bra -0xE6 /* 00000EA4 */ label00000F8E: 00000F8E 303C 0005 move.w D0, 0x5 00000F92 3203 move.w D1, D3 00000F94 E241 asr D1.w, 1 00000F96 5241 addq.w D1, 1 00000F98 41EA 014A lea.l A0, [A2 + 0x14A] label00000F9C: 00000F9C B250 cmp.w D1, [A0] 00000F9E 6604 bne +0x6 /* 00000FA4 */ 00000FA0 D373 3008 add.w [A3 + D3.w + 0x8], D1 label00000FA4: 00000FA4 D0FC 000C add.w A0, 0xC 00000FA8 5340 subq.w D0, 1 00000FAA 66F0 bne -0xE /* 00000F9C */ 00000FAC 3233 3008 move.w D1, [A3 + D3.w + 0x8] 00000FB0 D36B 0028 add.w [A3 + 0x28], D1 00000FB4 6000 FEEE bra -0x110 /* 00000EA4 */ 00000FB8 4267 clr.w -[A7] 00000FBA 4EBA 021C jsr [PC + 0x21C /* 000011D8 */] 00000FBE 301F move.w D0, [A7]+ label00000FC0: 00000FC0 303C 0005 move.w D0, 0x5 00000FC4 4241 clr.w D1 00000FC6 41EA 014A lea.l A0, [A2 + 0x14A] label00000FCA: 00000FCA D250 add.w D1, [A0] 00000FCC D0FC 000C add.w A0, 0xC 00000FD0 5340 subq.w D0, 1 00000FD2 66F6 bne -0x8 /* 00000FCA */ 00000FD4 3781 3008 move.w [A3 + D3.w + 0x8], D1 00000FD8 6000 FECA bra -0x134 /* 00000EA4 */ 00000FDC 4267 clr.w -[A7] 00000FDE 4EBA 01F8 jsr [PC + 0x1F8 /* 000011D8 */] 00000FE2 301F move.w D0, [A7]+ 00000FE4 0C40 0001 cmpi.w D0, 0x1 00000FE8 67D6 beq -0x28 /* 00000FC0 */ 00000FEA 41EA 014A lea.l A0, [A2 + 0x14A] 00000FEE 3810 move.w D4, [A0] 00000FF0 303C 0003 move.w D0, 0x3 label00000FF4: 00000FF4 43EA 014A lea.l A1, [A2 + 0x14A] 00000FF8 3A11 move.w D5, [A1] 00000FFA 4242 clr.w D2 00000FFC 323C 0005 move.w D1, 0x5 label00001000: 00001000 BA44 cmp.w D5, D4 00001002 6608 bne +0xA /* 0000100C */ 00001004 5242 addq.w D2, 1 00001006 0C42 0003 cmpi.w D2, 0x3 0000100A 67B4 beq -0x4A /* 00000FC0 */ label0000100C: 0000100C D2FC 000C add.w A1, 0xC 00001010 3A11 move.w D5, [A1] 00001012 5341 subq.w D1, 1 00001014 66EA bne -0x14 /* 00001000 */ 00001016 D0FC 000C add.w A0, 0xC 0000101A 3810 move.w D4, [A0] 0000101C 5340 subq.w D0, 1 0000101E 66D4 bne -0x2A /* 00000FF4 */ 00001020 6000 FE82 bra -0x17C /* 00000EA4 */ 00001024 4267 clr.w -[A7] 00001026 4EBA 01B0 jsr [PC + 0x1B0 /* 000011D8 */] 0000102A 301F move.w D0, [A7]+ 0000102C 0C40 0001 cmpi.w D0, 0x1 00001030 678E beq -0x70 /* 00000FC0 */ 00001032 41EA 014A lea.l A0, [A2 + 0x14A] 00001036 3810 move.w D4, [A0] 00001038 303C 0002 move.w D0, 0x2 label0000103C: 0000103C 43EA 014A lea.l A1, [A2 + 0x14A] 00001040 3A11 move.w D5, [A1] 00001042 4242 clr.w D2 00001044 323C 0005 move.w D1, 0x5 label00001048: 00001048 BA44 cmp.w D5, D4 0000104A 660A bne +0xC /* 00001056 */ 0000104C 5242 addq.w D2, 1 0000104E 0C42 0004 cmpi.w D2, 0x4 00001052 6700 FF6C beq -0x92 /* 00000FC0 */ label00001056: 00001056 D2FC 000C add.w A1, 0xC 0000105A 3A11 move.w D5, [A1] 0000105C 5341 subq.w D1, 1 0000105E 66E8 bne -0x16 /* 00001048 */ 00001060 D0FC 000C add.w A0, 0xC 00001064 3810 move.w D4, [A0] 00001066 5340 subq.w D0, 1 00001068 66D2 bne -0x2C /* 0000103C */ 0000106A 6000 FE38 bra -0x1C6 /* 00000EA4 */ 0000106E 4267 clr.w -[A7] 00001070 4EBA 0166 jsr [PC + 0x166 /* 000011D8 */] 00001074 301F move.w D0, [A7]+ 00001076 0C40 0001 cmpi.w D0, 0x1 0000107A 6752 beq +0x54 /* 000010CE */ 0000107C 7004 moveq.l D0, 0x04 0000107E 41EA 014A lea.l A0, [A2 + 0x14A] 00001082 2248 movea.l A1, A0 00001084 3810 move.w D4, [A0] label00001086: 00001086 D2FC 000C add.w A1, 0xC 0000108A 3A11 move.w D5, [A1] 0000108C BA44 cmp.w D5, D4 0000108E 6608 bne +0xA /* 00001098 */ 00001090 5340 subq.w D0, 1 00001092 66F2 bne -0xC /* 00001086 */ 00001094 6000 FE0E bra -0x1F0 /* 00000EA4 */ label00001098: 00001098 7005 moveq.l D0, 0x05 0000109A 4241 clr.w D1 0000109C 4242 clr.w D2 label0000109E: 0000109E B850 cmp.w D4, [A0] 000010A0 6602 bne +0x4 /* 000010A4 */ 000010A2 5241 addq.w D1, 1 label000010A4: 000010A4 BA50 cmp.w D5, [A0] 000010A6 6602 bne +0x4 /* 000010AA */ 000010A8 5242 addq.w D2, 1 label000010AA: 000010AA D0FC 000C add.w A0, 0xC 000010AE 5340 subq.w D0, 1 000010B0 66EC bne -0x12 /* 0000109E */ 000010B2 0C41 0003 cmpi.w D1, 0x3 000010B6 6606 bne +0x8 /* 000010BE */ 000010B8 0C42 0002 cmpi.w D2, 0x2 000010BC 6710 beq +0x12 /* 000010CE */ label000010BE: 000010BE 0C41 0002 cmpi.w D1, 0x2 000010C2 6600 FDE0 bne -0x21E /* 00000EA4 */ 000010C6 0C42 0003 cmpi.w D2, 0x3 000010CA 6600 FDD8 bne -0x226 /* 00000EA4 */ label000010CE: 000010CE 37BC 0019 3008 move.w [A3 + D3.w + 0x8], 0x19 000010D4 6000 FDCE bra -0x230 /* 00000EA4 */ 000010D8 4267 clr.w -[A7] 000010DA 4EBA 00FC jsr [PC + 0xFC /* 000011D8 */] 000010DE 4245 clr.w D5 000010E0 301F move.w D0, [A7]+ 000010E2 0C40 0001 cmpi.w D0, 0x1 000010E6 676C beq +0x6E /* 00001154 */ 000010E8 4244 clr.w D4 label000010EA: 000010EA 5244 addq.w D4, 1 000010EC 7004 moveq.l D0, 0x04 000010EE 41EA 014A lea.l A0, [A2 + 0x14A] 000010F2 3210 move.w D1, [A0] 000010F4 0C44 0002 cmpi.w D4, 0x2 000010F8 6702 beq +0x4 /* 000010FC */ 000010FA 43D0 lea.l A1, [A0] label000010FC: 000010FC D0FC 000C add.w A0, 0xC 00001100 3410 move.w D2, [A0] 00001102 B242 cmp.w D1, D2 00001104 6C0A bge +0xC /* 00001110 */ 00001106 3202 move.w D1, D2 00001108 0C44 0002 cmpi.w D4, 0x2 0000110C 6702 beq +0x4 /* 00001110 */ 0000110E 43D0 lea.l A1, [A0] label00001110: 00001110 5340 subq.w D0, 1 00001112 66E8 bne -0x16 /* 000010FC */ 00001114 4242 clr.w D2 label00001116: 00001116 5242 addq.w D2, 1 00001118 0C42 0004 cmpi.w D2, 0x4 0000111C 6736 beq +0x38 /* 00001154 */ 0000111E 7005 moveq.l D0, 0x05 00001120 41EA 014A lea.l A0, [A2 + 0x14A] 00001124 5341 subq.w D1, 1 00001126 0C41 0000 cmpi.w D1, 0x0 0000112A 660A bne +0xC /* 00001136 */ 0000112C 0C44 0002 cmpi.w D4, 0x2 00001130 671C beq +0x1E /* 0000114E */ 00001132 6000 FD70 bra -0x28E /* 00000EA4 */ label00001136: 00001136 B250 cmp.w D1, [A0] 00001138 67DC beq -0x22 /* 00001116 */ 0000113A D0FC 000C add.w A0, 0xC 0000113E 5340 subq.w D0, 1 00001140 66F4 bne -0xA /* 00001136 */ 00001142 0C44 0002 cmpi.w D4, 0x2 00001146 6706 beq +0x8 /* 0000114E */ 00001148 3A11 move.w D5, [A1] 0000114A 4251 clr.w [A1] 0000114C 609C bra -0x62 /* 000010EA */ label0000114E: 0000114E 3285 move.w [A1], D5 00001150 6000 FD52 bra -0x2AC /* 00000EA4 */ label00001154: 00001154 0C44 0002 cmpi.w D4, 0x2 00001158 6602 bne +0x4 /* 0000115C */ 0000115A 3285 move.w [A1], D5 label0000115C: 0000115C 37BC 001E 3008 move.w [A3 + D3.w + 0x8], 0x1E 00001162 6000 FD40 bra -0x2BE /* 00000EA4 */ 00001166 4267 clr.w -[A7] 00001168 4EBA 006E jsr [PC + 0x6E /* 000011D8 */] 0000116C 301F move.w D0, [A7]+ 0000116E 0C40 0001 cmpi.w D0, 0x1 00001172 673C beq +0x3E /* 000011B0 */ 00001174 4244 clr.w D4 00001176 7004 moveq.l D0, 0x04 00001178 41EA 014A lea.l A0, [A2 + 0x14A] 0000117C 3210 move.w D1, [A0] label0000117E: 0000117E D0FC 000C add.w A0, 0xC 00001182 3410 move.w D2, [A0] 00001184 B242 cmp.w D1, D2 00001186 6C02 bge +0x4 /* 0000118A */ 00001188 3202 move.w D1, D2 label0000118A: 0000118A 5340 subq.w D0, 1 0000118C 66F0 bne -0xE /* 0000117E */ 0000118E 4242 clr.w D2 label00001190: 00001190 5242 addq.w D2, 1 00001192 0C42 0005 cmpi.w D2, 0x5 00001196 6718 beq +0x1A /* 000011B0 */ 00001198 7005 moveq.l D0, 0x05 0000119A 41EA 014A lea.l A0, [A2 + 0x14A] 0000119E 5341 subq.w D1, 1 label000011A0: 000011A0 B250 cmp.w D1, [A0] 000011A2 67EC beq -0x12 /* 00001190 */ 000011A4 D0FC 000C add.w A0, 0xC 000011A8 5340 subq.w D0, 1 000011AA 66F4 bne -0xA /* 000011A0 */ 000011AC 6000 FCF6 bra -0x308 /* 00000EA4 */ label000011B0: 000011B0 37BC 0028 3008 move.w [A3 + D3.w + 0x8], 0x28 /* '(' */ 000011B6 6000 FCEC bra -0x312 /* 00000EA4 */ 000011BA 7004 moveq.l D0, 0x04 000011BC 41EA 014A lea.l A0, [A2 + 0x14A] 000011C0 3210 move.w D1, [A0] label000011C2: 000011C2 D0FC 000C add.w A0, 0xC 000011C6 B250 cmp.w D1, [A0] 000011C8 660A bne +0xC /* 000011D4 */ 000011CA 5340 subq.w D0, 1 000011CC 66F4 bne -0xA /* 000011C2 */ 000011CE 37BC 0032 3008 move.w [A3 + D3.w + 0x8], 0x32 /* '2' */ label000011D4: 000011D4 6000 FCCE bra -0x330 /* 00000EA4 */ fn000011D8: 000011D8 4E56 0000 link A6, 0 000011DC 2F03 move.l -[A7], D3 000011DE 7004 moveq.l D0, 0x04 000011E0 41EA 014A lea.l A0, [A2 + 0x14A] 000011E4 3210 move.w D1, [A0] label000011E6: 000011E6 D0FC 000C add.w A0, 0xC 000011EA B250 cmp.w D1, [A0] 000011EC 6600 00A2 bne +0xA4 /* 00001290 */ 000011F0 5340 subq.w D0, 1 000011F2 66F2 bne -0xC /* 000011E6 */ 000011F4 303C 0018 move.w D0, 0x18 000011F8 0C73 0000 002A cmpi.w [A3 + D0.w + 0x2A], 0x0 000011FE 6700 0090 beq +0x92 /* 00001290 */ 00001202 0C73 0000 0008 cmpi.w [A3 + D0.w + 0x8], 0x0 00001208 6770 beq +0x72 /* 0000127A */ 0000120A 303C 0064 move.w D0, 0x64 /* 'd' */ 0000120E 363C 001C move.w D3, 0x1C 00001212 D073 3008 add.w D0, [A3 + D3.w + 0x8] 00001216 3780 3008 move.w [A3 + D3.w + 0x8], D0 0000121A 37BC 0001 302A move.w [A3 + D3.w + 0x2A], 0x1 00001220 323C 000D move.w D1, 0xD /* '\r' */ 00001224 357C 00EF 01A0 move.w [A2 + 0x1A0], 0xEF 0000122A 0641 00EF addi.w D1, 0xEF 0000122E 3541 01A4 move.w [A2 + 0x1A4], D1 00001232 4A2A 0134 tst.b [A2 + 0x134] 00001236 6718 beq +0x1A /* 00001250 */ 00001238 2F3C 0000 001E move.l -[A7], 0x1E 0000123E A862 syscall ForeColor 00001240 486A 01A0 pea.l [A2 + 0x1A0] 00001244 A8A2 syscall PaintRect 00001246 2F3C 0000 0021 move.l -[A7], 0x21 /* '!' */ 0000124C A862 syscall ForeColor 0000124E 600A bra +0xC /* 0000125A */ label00001250: 00001250 486A 01A0 pea.l [A2 + 0x1A0] 00001254 487A 0316 pea.l [PC + 0x316 /* 0000156C, value 0x0, cstring "" */] 00001258 A8A5 syscall FillRect label0000125A: 0000125A 4EBA 0040 jsr [PC + 0x40 /* 0000129C */] 0000125E 356A 0198 01A0 move.w [A2 + 0x1A0], [A2 + 0x198] 00001264 303C 0064 move.w D0, 0x64 /* 'd' */ 00001268 323C 001E move.w D1, 0x1E 0000126C D073 1008 add.w D0, [A3 + D1.w + 0x8] 00001270 3780 1008 move.w [A3 + D1.w + 0x8], D0 00001274 357C 0001 0302 move.w [A2 + 0x302], 0x1 label0000127A: 0000127A 41EA 014A lea.l A0, [A2 + 0x14A] 0000127E 3010 move.w D0, [A0] 00001280 5340 subq.w D0, 1 00001282 D040 add.w D0, D0 00001284 0C73 0000 002A cmpi.w [A3 + D0.w + 0x2A], 0x0 0000128A 6704 beq +0x6 /* 00001290 */ 0000128C 7401 moveq.l D2, 0x01 0000128E 6002 bra +0x4 /* 00001292 */ label00001290: 00001290 7400 moveq.l D2, 0x00 label00001292: 00001292 3D42 0008 move.w [A6 + 0x8], D2 00001296 261F move.l D3, [A7]+ 00001298 4E5E unlink A6 0000129A 4E75 rts fn0000129C: 0000129C 48E7 1010 movem.l -[A7], D3,A3 000012A0 3F3C 0004 move.w -[A7], 0x4 000012A4 A887 syscall TextFont 000012A6 3F3C 0009 move.w -[A7], 0x9 /* '\t' */ 000012AA A88A syscall TextSize 000012AC 0C6A 00FE 01A0 cmpi.w [A2 + 0x1A0], 0xFE 000012B2 6606 bne +0x8 /* 000012BA */ 000012B4 3F3C 0001 move.w -[A7], 0x1 000012B8 6002 bra +0x4 /* 000012BC */ label000012BA: 000012BA 4267 clr.w -[A7] label000012BC: 000012BC A888 syscall TextFace 000012BE 4A2A 0134 tst.b [A2 + 0x134] 000012C2 6708 beq +0xA /* 000012CC */ 000012C4 2F3C 0000 0021 move.l -[A7], 0x21 /* '!' */ 000012CA A862 syscall ForeColor label000012CC: 000012CC 7000 moveq.l D0, 0x00 000012CE 3033 3008 move.w D0, [A3 + D3.w + 0x8] 000012D2 2000 move.l D0, D0 000012D4 41EA 001A lea.l A0, [A2 + 0x1A] 000012D8 4267 clr.w -[A7] 000012DA A9EE syscall Pack7/DecStr68K 000012DC 362A 01A2 move.w D3, [A2 + 0x1A2] 000012E0 0643 0015 addi.w D3, 0x15 000012E4 4267 clr.w -[A7] 000012E6 486A 001A pea.l [A2 + 0x1A] 000012EA A88C syscall StringWidth 000012EC 321F move.w D1, [A7]+ 000012EE E241 asr D1.w, 1 000012F0 9641 sub.w D3, D1 000012F2 3F03 move.w -[A7], D3 000012F4 322A 01A0 move.w D1, [A2 + 0x1A0] 000012F8 0641 000B addi.w D1, 0xB 000012FC 3F01 move.w -[A7], D1 000012FE A893 syscall MoveTo 00001300 486A 001A pea.l [A2 + 0x1A] 00001304 A884 syscall DrawString 00001306 4267 clr.w -[A7] 00001308 A887 syscall TextFont 0000130A 3F3C 000C move.w -[A7], 0xC 0000130E A88A syscall TextSize 00001310 4267 clr.w -[A7] 00001312 A888 syscall TextFace 00001314 4A2A 0134 tst.b [A2 + 0x134] 00001318 6708 beq +0xA /* 00001322 */ 0000131A 2F3C 0000 0021 move.l -[A7], 0x21 /* '!' */ 00001320 A862 syscall ForeColor label00001322: 00001322 4CDF 0808 movem.l D3,A3, [A7]+ 00001326 4E75 rts fn00001328: 00001328 2F03 move.l -[A7], D3 0000132A 363C 001A move.w D3, 0x1A 0000132E 322B 0028 move.w D1, [A3 + 0x28] 00001332 0C41 003F cmpi.w D1, 0x3F /* '?' */ 00001336 6D0C blt +0xE /* 00001344 */ 00001338 303C 0023 move.w D0, 0x23 /* '#' */ 0000133C 3780 3008 move.w [A3 + D3.w + 0x8], D0 00001340 D16B 0026 add.w [A3 + 0x26], D0 label00001344: 00001344 37BC 0001 302A move.w [A3 + D3.w + 0x2A], 0x1 0000134A 357C 00E0 01A0 move.w [A2 + 0x1A0], 0xE0 00001350 4EBA FF4A jsr [PC - 0xB6 /* 0000129C */] 00001354 363C 001C move.w D3, 0x1C 00001358 37BC 0001 302A move.w [A3 + D3.w + 0x2A], 0x1 0000135E 357C 00EF 01A0 move.w [A2 + 0x1A0], 0xEF 00001364 4EBA FF36 jsr [PC - 0xCA /* 0000129C */] 00001368 302A 0188 move.w D0, [A2 + 0x188] 0000136C B06A 0186 cmp.w D0, [A2 + 0x186] 00001370 6610 bne +0x12 /* 00001382 */ 00001372 4EBA 00D6 jsr [PC + 0xD6 /* 0000144A */] 00001376 760C moveq.l D3, 0x0C label00001378: 00001378 487A 01EA pea.l [PC + 0x1EA /* 00001564, value 0xA0087, cstring "" */] 0000137C A8A4 syscall InvertRect 0000137E 5343 subq.w D3, 1 00001380 66F6 bne -0x8 /* 00001378 */ label00001382: 00001382 426A 018E clr.w [A2 + 0x18E] 00001386 2F2A 0146 move.l -[A7], [A2 + 0x146] 0000138A 3F3C 0006 move.w -[A7], 0x6 0000138E A93A syscall DisableItem 00001390 261F move.l D3, [A7]+ 00001392 4E75 rts fn00001394: 00001394 48E7 1010 movem.l -[A7], D3,A3 00001398 2653 movea.l A3, [A3] 0000139A 363C 0064 move.w D3, 0x64 /* 'd' */ 0000139E 41EA 001A lea.l A0, [A2 + 0x1A] label000013A2: 000013A2 11B3 3000 3000 move.b [A0 + D3.w], [A3 + D3.w] 000013A8 51CB FFF8 dbf D3, -0xA /* 000013A2 */ 000013AC 47EA 001A lea.l A3, [A2 + 0x1A] 000013B0 4243 clr.w D3 label000013B2: 000013B2 16BC 0003 move.b [A3], 0x3 000013B6 41D3 lea.l A0, [A3] 000013B8 3F3C 0001 move.w -[A7], 0x1 000013BC A9EE syscall Pack7/DecStr68K 000013BE 41EA 0120 lea.l A0, [A2 + 0x120] 000013C2 2080 move.l [A0], D0 000013C4 35AA 0122 3000 move.w [A2 + D3.w], [A2 + 0x122] 000013CA D6FC 000A add.w A3, 0xA /* '\n' */ 000013CE 5443 addq.w D3, 2 000013D0 0C43 0014 cmpi.w D3, 0x14 000013D4 66DC bne -0x22 /* 000013B2 */ 000013D6 4CDF 0808 movem.l D3,A3, [A7]+ 000013DA 4E75 rts fn000013DC: 000013DC 48E7 1010 movem.l -[A7], D3,A3 000013E0 42A7 clr.l -[A7] 000013E2 3F2C 0026 move.w -[A7], [A4 + 0x26] 000013E6 A9BA syscall GetString 000013E8 255F 0016 move.l [A2 + 0x16], [A7]+ 000013EC 206A 0016 movea.l A0, [A2 + 0x16] 000013F0 A029 syscall HLock 000013F2 42A7 clr.l -[A7] 000013F4 2F3C 2D48 532D move.l -[A7], 0x2D48532D /* '-HS-' */ 000013FA 3F2C 0026 move.w -[A7], [A4 + 0x26] 000013FE A9A0 syscall GetResource 00001400 265F movea.l A3, [A7]+ 00001402 226A 0016 movea.l A1, [A2 + 0x16] 00001406 2251 movea.l A1, [A1] 00001408 2053 movea.l A0, [A3] 0000140A 7600 moveq.l D3, 0x00 label0000140C: 0000140C 12D8 move.b [A1]+, [A0]+ 0000140E 5243 addq.w D3, 1 00001410 0C43 0064 cmpi.w D3, 0x64 /* 'd' */ 00001414 66F6 bne -0x8 /* 0000140C */ 00001416 41D2 lea.l A0, [A2] 00001418 4298 clr.l [A0]+ 0000141A 4298 clr.l [A0]+ 0000141C 4298 clr.l [A0]+ 0000141E 4298 clr.l [A0]+ 00001420 4298 clr.l [A0]+ 00001422 303C 0003 move.w D0, 0x3 00001426 4EBA F178 jsr [PC - 0xE88 /* 000005A0 */] 0000142A 2F2A 0120 move.l -[A7], [A2 + 0x120] 0000142E 2F13 move.l -[A7], [A3] 00001430 A98F syscall SetDialogItemText/SetIText 00001432 2F2A 0016 move.l -[A7], [A2 + 0x16] 00001436 A9AA syscall ChangedResource 00001438 2F2A 0016 move.l -[A7], [A2 + 0x16] 0000143C A9B0 syscall WriteResource 0000143E 206A 0016 movea.l A0, [A2 + 0x16] 00001442 A02A syscall HUnlock 00001444 4CDF 0808 movem.l D3,A3, [A7]+ 00001448 4E75 rts fn0000144A: 0000144A 48E7 1F10 movem.l -[A7], D3,D4,D5,D6,D7,A3 0000144E 266A 0016 movea.l A3, [A2 + 0x16] 00001452 204B movea.l A0, A3 00001454 A029 syscall HLock 00001456 2653 movea.l A3, [A3] 00001458 362A 0186 move.w D3, [A2 + 0x186] 0000145C 7E00 moveq.l D7, 0x00 0000145E 426A 0124 clr.w [A2 + 0x124] label00001462: 00001462 383C 0012 move.w D4, 0x12 00001466 43EA 01B8 lea.l A1, [A2 + 0x1B8] 0000146A 3003 move.w D0, D3 0000146C 5340 subq.w D0, 1 0000146E C0FC 004C mulu.w D0, 0x4C /* 'L' */ 00001472 D2C0 add.w A1, D0 00001474 2549 0120 move.l [A2 + 0x120], A1 00001478 3E29 0026 move.w D7, [A1 + 0x26] 0000147C BE72 4000 cmp.w D7, [A2 + D4.w] 00001480 6F00 00BC ble +0xBE /* 0000153E */ 00001484 357C 0001 0124 move.w [A2 + 0x124], 0x1 0000148A 2007 move.l D0, D7 0000148C 41EA 001A lea.l A0, [A2 + 0x1A] 00001490 4267 clr.w -[A7] 00001492 A9EE syscall Pack7/DecStr68K 00001494 5544 subq.w D4, 2 00001496 357C 005B 0014 move.w [A2 + 0x14], 0x5B /* '[' */ 0000149C BE72 4000 cmp.w D7, [A2 + D4.w] 000014A0 6E4A bgt +0x4C /* 000014EC */ label000014A2: 000014A2 5444 addq.w D4, 2 label000014A4: 000014A4 3587 4000 move.w [A2 + D4.w], D7 000014A8 226A 0120 movea.l A1, [A2 + 0x120] 000014AC 302A 0014 move.w D0, [A2 + 0x14] 000014B0 3200 move.w D1, D0 000014B2 5C41 addq.w D1, 6 000014B4 7401 moveq.l D2, 0x01 000014B6 0C47 0064 cmpi.w D7, 0x64 /* 'd' */ 000014BA 6C16 bge +0x18 /* 000014D2 */ 000014BC 7403 moveq.l D2, 0x03 000014BE 15AA 001C 201A move.b [A2 + D2.w + 0x1A], [A2 + 0x1C] 000014C4 7401 moveq.l D2, 0x01 000014C6 1572 201A 001C move.b [A2 + 0x1C], [A2 + D2.w + 0x1A] 000014CC 15BC 0030 201A move.b [A2 + D2.w + 0x1A], 0x30 /* '0' */ label000014D2: 000014D2 17B2 201A 0000 move.b [A3 + D0.w], [A2 + D2.w + 0x1A] 000014D8 5240 addq.w D0, 1 000014DA 17B1 2000 1000 move.b [A3 + D1.w], [A1 + D2.w] 000014E0 5241 addq.w D1, 1 000014E2 5242 addq.w D2, 1 000014E4 0C42 0004 cmpi.w D2, 0x4 000014E8 66E8 bne -0x16 /* 000014D2 */ 000014EA 6052 bra +0x54 /* 0000153E */ label000014EC: 000014EC 3004 move.w D0, D4 000014EE 5440 addq.w D0, 2 000014F0 35B2 4000 0000 move.w [A2 + D0.w], [A2 + D4.w] 000014F6 3C2A 0014 move.w D6, [A2 + 0x14] 000014FA 046A 000A 0014 subi.w [A2 + 0x14], 0xA /* '\n' */ 00001500 3A2A 0014 move.w D5, [A2 + 0x14] 00001504 3005 move.w D0, D5 00001506 3206 move.w D1, D6 00001508 5C40 addq.w D0, 6 0000150A 5C41 addq.w D1, 6 0000150C 7401 moveq.l D2, 0x01 label0000150E: 0000150E 17B3 5000 6000 move.b [A3 + D6.w], [A3 + D5.w] 00001514 5245 addq.w D5, 1 00001516 5246 addq.w D6, 1 00001518 17B3 0000 1000 move.b [A3 + D1.w], [A3 + D0.w] 0000151E 5240 addq.w D0, 1 00001520 5241 addq.w D1, 1 00001522 5242 addq.w D2, 1 00001524 0C42 0004 cmpi.w D2, 0x4 00001528 66E4 bne -0x1A /* 0000150E */ 0000152A 0C44 0000 cmpi.w D4, 0x0 0000152E 6700 FF74 beq -0x8A /* 000014A4 */ 00001532 5544 subq.w D4, 2 00001534 BE72 4000 cmp.w D7, [A2 + D4.w] 00001538 6EB2 bgt -0x4C /* 000014EC */ 0000153A 6000 FF66 bra -0x98 /* 000014A2 */ label0000153E: 0000153E 5343 subq.w D3, 1 00001540 6600 FF20 bne -0xDE /* 00001462 */ 00001544 0C6A 0000 0124 cmpi.w [A2 + 0x124], 0x0 0000154A 670C beq +0xE /* 00001558 */ 0000154C 2F2A 0016 move.l -[A7], [A2 + 0x16] 00001550 A9AA syscall ChangedResource 00001552 2F2A 0016 move.l -[A7], [A2 + 0x16] 00001556 A9B0 syscall WriteResource label00001558: 00001558 206A 0016 movea.l A0, [A2 + 0x16] 0000155C A02A syscall HUnlock 0000155E 4CDF 08F8 movem.l D3,D4,D5,D6,D7,A3, [A7]+ 00001562 4E75 rts 00001564 000A 0087 ori.b A2, 0x87 00001568 010E btst A6, D0 0000156A 019E bclr [A6]+, D0 0000156C 0000 0000 ori.b D0, 0x0 00001570 0000 0000 ori.b D0, 0x0 00001574 0430 2020 2000 subi.b [A0 + D2.w], 0x20 /* ' ' */ 0000157A 0B4D bchg A5, D5 0000157C 6163 bsr +0x65 /* 000015E1 */ 0000157E 5961 subq.w -[A1], 4 00001580 6874 bvc +0x76 /* 000015F6 */ 00001582 7A65 moveq.l D5, 0x65 00001584 6520 bcs +0x22 /* 000015A6 */ 00001586 2643 movea.l A3, D3 00001588 7265 moveq.l D1, 0x65 0000158A 6469 bcc +0x6B /* 000015F5 */ 0000158C 7473 moveq.l D2, 0x73 0000158E 3B28 2D3B move.w -[A5], [A0 + 0x2D3B] 00001592 4E65 move USP, A5 00001594 7720 moveq.l D3, 0x20 00001596 4761 chk.w D3, -[A1] 00001598 6D65 blt +0x67 /* 000015FF */ 0000159A 3B50 6C61 move.w [A5 + 0x6C61], [A0] 0000159E 7920 moveq.l D4, 0x20 000015A0 4167 chk.w D0, -[A7] 000015A2 6169 bsr +0x6B /* 0000160D */ 000015A4 6E3B bgt +0x3D /* 000015E1 */ label000015A6: 000015A6 282D 3B55 move.l D4, [A5 + 0x3B55] 000015AA 6E64 bgt +0x66 /* 00001610 */ 000015AC 6F00 .incomplete